Final answer:
To determine Leo's and Stan's current ages, we set up a system of equations with Stan's age as S and Leo's as L. Solving these equations reveals that Stan's current age is 5 years old and Leo's is 15 years old.
Step-by-step explanation:
The student's question is about determining the current ages of Leo and Stan based on the given relationship between their ages now and in 5 years. To solve this problem, we need to set up a system of equations based on the information provided.
Let S represent Stan's current age, and L represent Leo's current age. According to the problem, L = 3S (Leo's age is three times Stan's age). In 5 years, Leo will be L + 5 years old, and Stan will be S + 5 years old. At that time, Leo will be twice as old as Stan, which gives us the equation L + 5 = 2(S + 5).
Now we have two equations:
We can substitute the first equation into the second to solve for S:
3S + 5 = 2(S + 5)
3S + 5 = 2S + 10
S = 10 - 5
S = 5
Now that we know Stan's age, we can find Leo's age:
L = 3S
L = 3(5)
L = 15
Therefore, Stan is currently 5 years old and Leo is 15 years old.