Answer:
John is 20 and Mary is 15.
Explanation:
Let John = X and Mary = Y be the present age.
X = Y+5
2(X+10)-(Y+10) = 35
2(Y+5+10)-(Y+10) = 35
2Y+30-Y-10=35
Y=15
X=20
Therefore: 2*30-25=35
In other words, in ten years' time, Johns age will be double the age of Mary: 30=2*15"