Do the numbers work in the Pythagorean Theorem? c² = a² + b²
c must be replaced with the largest value; the other two values replace a and b, in either order:
So, is this true: 6² = 2² + 5²
If so, these create a right triangle; if not, it's not a right triangle.
OK?