Let the points be A(3,-2) , B(5,2) and C(8,8)
We need to prove that they are collinear.
Let, B divide AC in ratio of k : 1
Then coordinates of B will be (8k+3k+1,8k−2k+1)
But the coordinates of B are given as B(5,2)
Comparing,
8k+3k+1=5⇒8k+3=5k+5
⇒3k=2
⇒k=23
and, 8k−2k+1=2⇒8k−2=2k+2
⇒6k=4
⇒k=46=23
Since, the value of k is same in both x+y co-ordinates.
∴ Points A, B and C are collinear.