solution problem6

square the sum of numbers - the sum of the squares