The age of the oldest person that leaves the room is 36 years
The average of a data is defined as the ratio of the sum of the data to the sample size. Mathematically;
Average = sum/sample size
If the average age of a group of 8 people is 22. then;
22 = Xn/8
Xn = 22 * 8
Xn = 176
If after the oldest person leaves the room the average age decreases to 20, hence;
20 = H/7
H = 140
Xn = H + x
176 = 140 + x
x = 176 - 140
x = 36
Hence the age of the oldest person that leaves the room is 36 years
Learn more on average here: https://brainly.com/question/20118982
#SPJ1