The theorem states that the square of the hypotenuse( the side opposite the right angle) is equal the sum of the squares of other two sides. If ıt is thouht that sides of the right triangle is a,b,c, the equation is that
a^2+b^2=c^2
Now, you can see proof of this theorem thanks to area of square.