By the Pythagorean Theorem, we know that x2 + h2 = a2 and y2 + h2 = b2
which, if we add them together, we get: x2 + h2 + y2 + h2 = a2 + b2
However, we want to show that (x + h)2 + (y + h)2 = (a + b)2
and, this is: ( x2 + 2xh + h2 ) + ( y2 + 2yh + h2 ) = a2 + 2ab + b2
So, somehow we will need to show tha 2xh + 2yh = 2ab
We can do this by finding the area of the triangle in two different ways:
Area = ½ab and the area is also Area = ½(x +y)h
So: ½(x +y)h = ½ab
---> (x + y)h = ab
---> xh + yh = ab
---> 2xh + 2yh = 2ab
Adding this to: x2 + h2 + y2 + h2 = a2 + b2
we get: x2 + 2xh + h2 + y2 + 2yh + h2 = a2 + 2ab + b2
which is: (x + h)2 + (y + h)2 = (a + b)2