In a right angled triangle," The sum of the squares of the length of the two sides is equal to the square of the length of the hypotenuse(or the longest side.)". This is known as the Pythagoras theorem.
Here, a=Perpendicular side, b= base and c= hypotenuse.