Answer:
y = -2x-5
Explanation:
So to calculate the slope the equation is y1-y2/x1-x2. We substitute in two points, let's use (-3,1) as x1 and y1, and (1,-7) as x2 and y2. Put those points in the equation and you get -7-1/1-(-3), which is -2. Now you have y=-2x+b
To get b plug in a pair of points to the equations, say (1,-7). -7=-2(1)+b, solve that and you get b=-5.
So y=-2x-5.