Find the relation between X and Y if the points (x,y),(1,2) and (7,0) are collinear

Yash Bhardwaj's image