You can
put this solution on YOUR website!
Ruth [today which is 24] is twice as old as Gertrude was [y years ago, which was
G-y] when Ruth was [24-y] and as old as Gertrude is now [today which is G].
24 = 2(G-y)
24-y = G
Solve that system and get y=6 and G=18
Edwin