The answer for the exercise shown in the figure attached is shown below:
1- side lengths.
2- a^2+b^2=c^2
3- is a rigth triangle
Therefore, in other words, you can know that a triangle is a rigth triangle (which means that it has an angle of 90 degrees) when the square of its longest side is equatl to the sum of the squares of the other sides.