Ansh is 8 years younger than Ryan, Ryan is three times as old as David, David is x years old. How old are they?

Oct 27, 2016

a) David is $x$ years old.
b) Ryan is $3 x$ years old.
c) Ansh is $3 x - 8$ years old.

Explanation:

We can use the variables $A$ for the age of Ansh, $R$ for the age of Ryan and $D$ for the age of David.

We know:

1) $A = R - 8$
2) $R = 3 D$
3) $D = x$

Substituting equation 3) for the $D$ in equation 2) we get:
4) $R = 3 x$

And substituting equation 4) for the $R$ in equation 1) we get:
5) $A = 3 x - 8$

Therefore the ages of the 3 state in terms of $x$ are:
a) David is $x$ years old.
b) Ryan is $3 x$ years old.
c) Ansh is $3 x - 8$ years old.