You can put this solution on YOUR website! Let t = Tom's age now, and g = Gerry's age now.
Then from the first sentence we get
t = 0.75g (Equation A)
From the second sentence, we get
t + 6 = 0.80(g+6) (Equation B)
substituting Eqn.A into Eqn.B, we obtain
0.75g + 6 = 0.80(g+6)
==> 0.75g + 6 = 0.80g + 4.8
==> 1.2 = 0.05g
==> g = 1.2/0.05 = 24, Gerry's age now
==> t = 0.75*24 = , Tom's age now.