The father is 47 years old and the son is 21 years old. How many years ago was the father three times as old as the son? To solve the equation

The father is 47 years old and the son is 21 years old. How many years ago was the father three times as old as the son? To solve the equation

Suppose that x years ago, the age of the father was three times that of the son
47-x =3(21-x)
X=8