Use the slope formula below (Rise Over Run)

We are given two points. Substitute those points in the equation. Remember that it is (x,y) and not (y,x).

Next we will be using the point-slope form then convert into slope-intercept form. You can also use the slope-intercept form to substitute one of these points and solve for the y-intercept. However, I will be using the point-slope form instead.

The equation above is in point-slope form. Next we can substitute one of given points. I will choose (-1,-2) to substitute (You can use another point as well since the outcome would be the same.)

We substitute x1 = -1, m = 3 and y1 = -2. Next, we simplify the equation and convert it in slope-intercept form.

Answer