You can
put this solution on YOUR website! .
Let Hannah be H years old.
Then Yanira is 2H years old ( "Yanira is twice as old as Hannah")
and Tim is (2H-3) years old, "Yanira is 3 years older than Tim")
according to the condition.
Also, from the last condition you have this equation
2H-3 = H + 2.
Simplify and solve for H:
H = 2 + 3
H = 5.
Answer. Hannah is 5 years old; Yanira is 2*5 = 10 years old; Tim is 2*5-3 = 7 years old.