Question 1055961
.
All you need to check is whether these points lie in one straight line.


If not, then they are vertices of a triangle.