prove that it is a rectangle.