The given equation is
Remember that collinear points are those that are on the same line. So, in this case, we need to evaluate the equation using each given point, in order to find which one satisfies it.
For (-2,8)
As you can observe, point (-2,8) satisfies the equation, so it's a collinear point to A and B.
For (6,4)
Point D is not collinear to A and B, because it doesn't satisfy the equation.
For (5,-2)
Point G is not collinear to A and B.
For (1,2)
Point J is collinear to A and B.
Therefore, points C and J are collinear to points A and B