a b c

Drag the blue dot to change a, the red dot to change b. The hypotenuse c follows.

a
= —
b
= —
c
= —
½ab ½ab ½c²
build full trapezoid
outer · trapezoid
½(a + b)² = —
inner · three triangles
ab + ½c² = —