For the triangle with sides 5, 6 and 9, you have:
5 + 6 > 9
5 + 9 > 6
9 + 6 > 9
9² ≠5² + 6²
≠25 + 36
≠61
Then, it is not a right triangle
For the triangle with sides 4, 8 and 12:
4 + 8 ≥ 12
in this case the triangle inequality is not present
12² ≠4² + 8²
Then, it is not a right triangle
For the triangle with sides 7, 8 and 17:
7 + 8 < 17
in this case the triangle inequality is not present
17² ≠8² + 7²
Then, it is not a right triangle