Turn the triangle of area 0.5bh into a rectangle of dimensions b by 0.5h using the midpoints of edges. The square has side length given by s2 = 0.5bh. There is a lot to explain here about why the pieces fit exactly as shown.
Published February 2002.
Help With Mathematical Display