If ann is 22 years old and terry is 10 years old, how many years ago was ann four times as old as terry

Let the number of years passed be x.

So,
(22-x)=4(10-x)
(22-x)=40-4x
4x-x=40-22=18
3x=18
x=6

It is 6 years ago that Ann was four times as old as terry