Quadrature of the Rectangle

The quadrature of a rectangle is the construction of a square having the same area as the rectangle using only a ruler and compass - sometimes referred to as "squaring the rectangle".[br][br]Drag the YELLOW dot.[br][br]Why are the GREEN & BLUE areas equal?

Information: Quadrature of the Rectangle