Question 775854
Let X be x years old and Y be y years old now.


10 years back:
X was (x - 10) yrs old
Y was (y - 10) yrs old


At that time X was twice as old as Y.
x - 10 = 2(y - 10)
x = 2y - 20 + 10
x = 2y - 10 ___________ (i)


After 15 yrs from now, Y's age would be (y+15) yrs.
Given that after 15 yrs from now Y will be 45 yrs old.
y + 15 = 45
y = 45 - 15 = 30 ___________ (ii)


Substituting the value of y from (ii) in (i)
x = 2*30 - 10 = 50


So now X is 50 yrs old and Y is 30 yrs old.