We have,

Then, by converse of Pythagoras theorem, given triangle is a right triangle.
We have,

Then, by converse of Pythagoras theorem, given triangle is not a right triangle.
We have,

Then, by converse of Pythagoras theorem, given triangle is a right triangle.