Triangle XYZ has sides of lengths 6 cm, 8 cm, and 10 cm. To determine whether triangle XYZ is a right triangle, you can use the Pythagorean theorem, which states that for a triangle with sides a, b, and c, where c is the longest side, it holds that:
$$ a^2 + b^2 = c^2 $$
What type of triangle is XYZ?