The slope-intercept form of a line:

m - slope
b - y-intercept.
The formula of a slope:

We have the points (-1, -2) and (-2, 7). Substitute:

Therefore we have
.
Put the coordinates of the point (-1, -2) to the equation of a line:

subtract 9 from both sides

Answer: y = -9x - 11