Answer: Teo is 6 years old and Sara is 1 year old.
Explanation:
This can be translated as:
Teo's age from 2 years ago was equal to Sara's age in 3 years.
In 2 years from now, Sara will have half the age of Leo.
we want to find the age of Sara and Leo.
we can write Teo's age as T, and Sara's age as S.
Then we have that:
T - 2 = S + 3
S + 2 = T/2
first, we must isolate one of the variables in one of the equations, let's isolate T in the first equation:
T = S + 3 + 2 = S + 5
now, we can replace it in the second equation:
S + 2 = T/2 = (S + 5)/2
2S + 4 = S + 5
2S - S = 5 - 4
S = 1
Then Sara is one year old, and the age of Teo is:
T - 2 = 1 + 3
T = 4 + 2 = 6
Teo is 6 years old.