Answer: The average was 9 years old find the average age of both groups is 10 years old.
Explanation:
Formula foe average :
![\text{Average} =\frac{\text{Sum of all observations}}{\text{Number of observations}}](https://img.qammunity.org/2021/formulas/mathematics/high-school/fagb8u9lbkuawc2hnczmbb3qdp6coe96th.png)
Given : The first group of students consists of 10 and their average age was 13 years old.
i.e.
(1)
The next group consisted of 30 students and their average was 9 years old.
i.e.
(2)
Then from (1) and (2) , the sum of both groups (first group and next group )students = 130+270 =400
Combined students of both groups (first and next group )= 10+30=40
Now , the average of both groups =
![\frac{\text{Sum of combined students}}{\text{combined students}}](https://img.qammunity.org/2021/formulas/mathematics/high-school/38uo1i8skbmxlfv3efwtktjmfu47gol04s.png)
![=(400)/(40)=10](https://img.qammunity.org/2021/formulas/mathematics/high-school/8od0t9pa37tigv3pv0bnz6y5f00edynm4e.png)
Hence, the average was 9 years old find the average age of both groups is 10 years old.