Prove that the sum of the squares of the diagonals of a parallelogram is equal to the sum of the squares of its sides.