We need the equation for the line going through the points (-3, 1) and (-1, -1).
To do this we write the equation of the line as:
The slope m can be calculated as the ratio of the difference of the y-coordinates and the difference of the x-coordinates:
Knowing the slope, we can calculate the y-intercept b using one of the points and replacing in the equation:
The equation of the line is: y=-x-2