Combined mean and combined ∑xi2. ∑xi=12×20+8×25=240+200=440, so the combined mean is 20440=22. Then
∑xi2 (all 20)=n(σ2+xˉ2)=20(13+484)=9940
Section A's share. ∑xi2 (A)=12(9+400)=4908.
Section B. ∑xi2 (B)=9940−4908=5032. Since ∑xi2=n(σ2+xˉ2) for section B,
5032=8(v+625)⟹v+625=629⟹v=4
So the variance of section B's marks is 4.