We know from Pythagoras' Theorem, a right angle triangle can be identified by the relationship:

Thus, we know if the side lengths of the triangle in question abide by this relation, the triangle is right.
First, we must find the greatest side length.
We know, using the distance formula.



From this, we know that:

Therefore, GB would be the hypotenuse of the triangle.
Now we substitute the values for the two shorter lengths and the greater length into the pythagorean theorem:



Therefore, this triangle is a right angled triangle