If the diagonals of a parallelogram are equal, then show that it is a rectangle

If the diagonals of a parallelogram are equal, then show that it is a rectangle.

image
image