Area of a triangle (At):

In your problem:
b = b
h = a
As you have four triangles in the figure:

Area of a square (As):

The expression of the area (A) of the figure would be:


Also, solving the quadratic expression, the equivalent would be:

Setting two of these equal to each other and subtracting 2ab from the equation results in the Pythagorean Theorem
