In three years time a dog will be as old as his owner was five years ago.Their present ages total 22 years.Find the age of each using simultaneous equations

2 answers

age of dog ---- x
age of owner --- y
x + y = 22 or y = 22-x

age of dog 3 years from now: x + 3
age of owner 5 years ago : y - 5

x + 3 = y - 5
x + 3 = 22-x - 5
2x = 14
x = 7 , and y = 22-7 = 15

or the two equations were:
x + y = 22
x - y = -8
add them ..
2x = 14 , just as before
Thank u for the answer