Collinearity of three or more points by using Distance Formula ...

Responsive image
source