The first thing you should do in this case is to write the equation in its generic form.
We have then:
y-yo = m (x-xo)
We look for the slope:
m = (y2-y1) / (x2-x1)
m = (7-1) / (1 - (- 2))
m = 6/3
m = 2
We choose any point of the line:
(xo, yo) = (1, 7)
We substitute the values in the generic equation:
y-7 = 2 (x-1)
We rewrite:
y = 2x + 5
Equivalently:
(y - 1) = 2 (x + 2)
Answer:
d) (y - 1) = 2 (x + 2)