Babu's income is Tk.1000 more than that of Selim. Their total salary is Tk.x. What is Selim's salary?

Answer: 
x/2 - 500
Babu's income is Tk.1000 more than that of Selim. Their total salary is Tk.x. What is Selim's salary?