Answer:
No , Summer is incorrect .
Let me explain pythagorean theorem first
(Hypotenuse )² = (Perpendicular)² + (Base)²
Where Hypotenuse is longest side of Right Angled triangle and base and altitude are shorter sides, they can be equal also.
So, Hypotenuse must be equal to c , and base and altitude can be a, b or b,a.
The Angle opposite to hypotenuse must be Right Angle.