Michael D. answered 07/16/19
MS Purdue Physics: engineer 20 years DOE, bio-tech, AP B/C Professor
Tim is 42, Cheryl is 38 and Greg is 56
This is a system of three equations with three unknowns , so the question is it sovable turns on is this a singular system.
Examine the determinant of the matrix 1 1 0
0 1 1
1 0 1
That is 2 and non-zero so the matrix is not singular.
Then we can use Cramers rule to determine the values for the (T,C,G)T vector
If you are not clear on determinants and Cramer's rule check out Wikipedia
You did say Mensa!
Not using matrices, one can just write the three equations with variables T,C,G and eliminate varibles between the equations to get an equation dependent on just one variable. Then back-substitute to arrive at the values of the other ages.