Let
be the altitude of a triangle
and let
be its midpoint. Then
and
can be squared by rectangle
squaring. The general polygon can be treated by drawing
diagonals, squaring the constituent triangles,
and then combining the squares together using the Pythagorean
theorem.