1. Calculate the length of each of the tree sides of the triangle, using the formula for the distance between the points in a coordinate plane. 2. Then check that the square of the longest of the three sides is the sum of squares of the two other sides (Pythagorean equality).