Euclid Book I Proposition 47. The Pythagorean Theorem.
This is an illustration of a variant of Euclid's proof of the Pythagorean Theorem. The image can be adjusted by dragging the point where the two small squares meet.
The orange square (partly covered by the yellow parallelogram) and the orange rectangle (partly covered by the green parallelogram) have equal area. We can see this by examining the two parallelograms. They are congruent to one another, since one is obtained by rotating the other by 90 degrees about the vertex that they have in common. The green parallelogram the overlaps the orange rectangle has the same area as that rectangle by Euclid, Book I, Proposition 35: Parallelograms on the same base and between the same parallels have equal area. The yellow parallelogram overlaps the orange square has the same area as the square, also by Proposition 35.