In ten years Mary will be 5 years less than twice as old as she is now. What is Mary's age now?

Let x = Mary's age

The condition given, in symbols, is
x + 10 = 2x - 5
Solving for x,
x - 2x = -10 - 5
-x = -15
x = 15 years old

hope this helps ;)