t(x+4)=42
(t+4)(x-4)=42
from first equation tx+4t=42 and so x=(42-4t)/t
substituting into second equation
(t+4)((42-4t)/t-4)=42
multiply by t
(t+4)(42-4t-4t)=42t
(t+4)(42-8t)=42t a little housekeeping gets
-8t2-32t+168=0 which you divide by -8 to get
t2+4t-21=0 factor (t+7)(t-3)=0 t=-7 or t=3
Assume t=3 so in first equation 3(x+4)=42 and so x+4=14 x=10