Sean is 26 years old. He is 8 years older than John. How many years ago was Sean!s age three times John’s age?

s = 26 , j = 18

s - y = 3 (j - y) ... 26 - y = 54 - 3 y

solve for y