The idea is first apply the inequality x1^2 + x2^2 + ... + xn^2 >= (X1+x2+...+xn)^2/n, then use the trick for Prob 8 again.