Pythagorean theorem
Proof:

Since and
, we can conclude that:
This means that: (Ignore the
)
(Multiply both sides by
)
Same exact procedure for: , which means that:
(Multiply both sides by
)
Now add both and
together.
(because
, see picture)
x y
Output: