Final answer:
By setting up simultaneous equations based on the age relationships given, we find that the current age of the younger brother is 7 years old, and the older brother is 17 years old.
Step-by-step explanation:
Let's solve the problem involving the ages of two brothers. Define the current age of the younger brother as x years. Therefore, the current age of the older brother would be x + a certain number of years. Let's call this number y. According to the first statement, two years ago the older brother was three times the age of the younger brother, which means their ages at that time were (x - 2) and (x + y - 2), respectively.
According to the first statement: x + y - 2 = 3(x - 2). Consequently, we get the following equation:
x + y - 2 = 3x - 6
Now, according to the second statement regarding the future ages in three years, we get the second equation: (x + y + 3) = 2(x + 3).
By solving these two equations simultaneously:
Now substitute the value of y from the first equation into the second:
x + (2x - 4) + 3 = 2x + 6,
which simplifies to:
3x - 1 = 2x + 6,
resulting in:
x = 7.
Now find y by substituting x back into the first equation:
y = (2 * 7) - 4 = 10.
The current age of the younger brother (x) is 7 years, and the older brother (x + y) is 17 years old.