Answer:
The overall average of the classes is 89.125%
Explanation:
For calculate the average of the class using weighted means, it is necessary to take into account the number of students of every period. So, the average can be calculated as:

Where is
and
are the number of students for period 1 , 2 and 3 respectively and
and
are the average of period 1, 2 and 3 respectively.
Replacing the values of x1 by 15 students, x2 by 21 students, x3 by 12 students, a1 by 86%, a2 by 88% and a3 by 95%, we get:

Average = 89.125%
So, using weighted means, the overall average of the classes is 89.125%