Assign variables and form the equations from the description, literally. Then solve.
Tom 6
Claire 3
Jack 3
Gareth 4
Morwen 4
This seems to call for only a s....no. This seems to need no variables. Equations might be possible but not necessary to show. The listing shown is all their ages.