Problem: Sums involving the mean

Problem

Solution