The slope-intercept form:

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

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

Therefore we have the equation of a line

Put the coordinates of the point (-3, 1) to the equation:

subtract 3 from both sides

Answer: y = -x - 2