Let's define the ages of Andrea and Tony:
- Let \( a \) be Tony's current age.
- Since Andrea is 6 years younger than Tony, Andrea's current age can be expressed as \( a - 6 \).
In two years, Tony's age will be \( a + 2 \), and Andrea's age will be \( (a - 6) + 2 = a - 4 \).
According to the problem, in two years, Tony's age will be three times Andrea's age:
\[ a + 2 = 3(a - 4) \]
This linear equation can be used to find Andrea’s and Tony’s current ages.