Let the number of observations of the data set is n.
So,
∑xi=10n....(i)
Also,
∑xi−8+12=10.2n
⇒10n+4=10.2n
⇒0.2n=4
⇒n=20
Also,
σ2=4=20∑xi2−100
⇒∑xi2=104×20=2080
Now, new variance is
=20∑xi2−82+122−(10.2)2
=202080+4×20−104.04
=108−104.04
=3.96