Question 505837
Present age of Mary = n

In 7 years means we have to add 7 to her present age
In 7 years she will be = n+7 years old

8 years ago means we have to subtract 8 from her present age
8 years ago she was = n-8