a b c

Drag the blue and red dots. The upper half of the figure rotates 180° around the centre of the c² square - watch it land on the mirror.

a²
=
b²
=
c²
=
upper mirror

a² = + b² = = c² =