The side lengths are
(Apply Pythagorean theorem)
(Substitute
)
(Evaluate powers:
)
(Add:
)
The equality is true, so it is a right traingle.
\The traingle with the given side lengths is a right traingle.