Setting variables
Melanie's age: X
Tim's age: Y
Ryan's age: Z
Melanie is 2 years older than her brother Tim.
Tim's age expression
Equation (1)
Ryan is 5 years younger than Melanie.
Ecuation (2)
the sum of their ages is 56
Equation (3)
Replacing equation (1) and (2) in equation (3) and solving the equation for X
Melanie is
Comments