Given points will be collinear, if the area of the triangle formed by there is zero.
Here, we have,
x1 = 2, y1 = 1;
x2 = x, y2 = y;
x3 = 7, y3 = 5.
Now,
x1(y2 - y3) + x2(y3 - y1) + x3(y1 -2)= 0
⇒ 2(y - 5) + x(5 - 1) + 7( 1 - y) = 0
⇒ 2(y - 5) + x(4) + 7(1 - y) = 0
⇒ 2y - 10 + 4x + 7 - 7y = 0
⇒ 4x - 5y - 3 = 0
⇒ 4x - 5y = 3