Question 38972
Let their ages be W, F, and M.
So W = (1/6)F and that means F = 6W.
Also W = M + 5 and that means M = W - 5.
But we are given that W + F + M = 51
Now substitute and get
W + 6W + (W - 5) = 51
8W - 5 = 51
8W = 56
W = 7