A quick way to find the slope is to compare the y-values and the x-values.
- For the y's, from -1 to -7, that's -6
- For the x's, from 6 to 3, that's -3
So the slope is -6/-3, which is equal to just 2 (division).
(This is a shortcut of the slope formula. If you must use the formula instead, do that, using (6, -1) as (x1, y1) and (3, -7) as (x2, y2))
To find the y-intercept, take either one of the points and the slope, and plug into y = mx + b, then solve for b. Let's take the first point
-1 = 2(6) + b
-1 = 12 + b
(Minus 12 on both sides)
-13 = b
(An alternative would've been using point-slope form)
So the equation of the line is: y = 2x - 13
*If you would like more math help, feel free to message me*