The answer should be C, 21. I’ll attach a picture for explanation.
Answer:
extra-large
Step-by-step explanation:
Answer:
The sum of ages of all 18 pupils in the class = 81
Step-by-step explanation:
Total number of pupil in the class = 18
Average of years in the class = 
Now, 
⇒Average of sum of ages in the class = 4.05
Let us assume the sum of ages of all students in the class = m
By the formula for AVERAGE:


or, m = 18 x 4.5 = 81
Hence, the sum of ages of all 18 pupils in the class = 81
The answer is B/C.—M is in fact NOT a midpoint of line AB. This is because to be a midpoint the distance between both endpoints and the midpoint must me equal. If AB has equaled 28 then is would be, but in this case NO. To get AM you just need to do 27-14. AM would be 13 (if you need that too)
1a+18=7a
18=7a-1a
18=6a
6a=18
a=18/6
a=3