Question 1079801
Mathew'a age now is x + 7. 

Marie's age now is x.


Mathew's age 12 years ago is (x + 7) - 12.


Here is the set up:


(x + 7) - 12 = (x/2)


You finish.