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

Purnima Sharma's image