So you remember that the Pythagorean theorem is the length of one leg squared plus the leg of the other leg squared equals the hypotenuse squared, right? and you know the the hypotenuse has to be the longest side in a right triangle.
All you have to do here is figure out if





So yes, a triangle with those side lengths would be a right triangle because the Pythagorean theorem is true.