You can
put this solution on YOUR website! .
X is 5 years older than Y. Z is 6 years older than X. How old are each person if the sum of their ages is 31?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Let "y" is the age of the person Y.
Then the age of X is (y+5), and the age of Z is (y+5)+6, according to the condition.
The sum of ages is y + (y+5) + ((y+5)+6) = 3y + 16, and it is equal to 31.
So you have this equation
3y + 16 = 31.
Solve it for "y" and get the answer.
Should I explain more or you just can to complete it yourself?