when we talk about right triangles they must fulfill the pythagorean theorem, which stand that

in which c must be the longest side of the triangle.
chech if this is true with the side lenghts given

simplify the expression

in this case yes it is a right triangle because the pythagorean theorem applies