Slope of the line joining the points (x1,y1) and (x2,y2) is given by m=y2−y1x2−x1
Slope of the line AB joining the points A(5,−2) and B(4−1) is m1=−1+24−5=−1
Slope of the line BC joining the points B(4,−1) and C(1,2) is m2=2+11−4=−1
Thus, the slope of AB= Slope of BC
Also, B is the common point.
Hence, the points A,B and C are collinear.