The equation of the line passing through (1,2) and having a distance equal to 7 units from the point (8,9) is
y=3x-1
y = 2
x = 4
x+y=3
Distance from (8,9) to line y-2=mx-1 is 7 ⇒m=0