Total age
6 * 27
162
Subtotal age of first 4
4 * 23
92
Subtotal of last 3
3 * 34
102
In the total of the first 4 and last 3
the 4th person has been counted twice.
This second time must be subtracted.
Therefor
92 + 102 - x = 162
194 - x = 162
Subtract 194 from both sides
-x = -32
Multiply both sides by -1
x = 32
Thank you for posting your question here at brainly. I hope the answer will help you. Feel free to ask more questions here.