6. And 7. Determined whether the three points are the vertices of a right triangle
8. And 9. Determined whether the three points are collinear
