It's important to know that the three given sides must be congruent with the Pythagorean's Theorem in order to form a right triangle.
The theorem is
Where c is the longer side. Let's replace each side.
Let's solve each side of the equation.
Since the three given sides satisfy the Pythagorean's Theorem, we can deduct that they form a right triangle.