to find the slope (m), count how many units vertically and horizontally it takes to get from any one point to the other (rise/run)
i’ll use (0,-6) and (-4,-5)
it takes 1 vertical unit and 4 horizontal units to the left to get there, so the slope is 1/-4
to find the y intercept (b), it’s simply the point where the line intercepts the y axis (vertical line). in this case it’s at (0,-6). the y intercept would then be -6
now just plug those into the slope intercept form: y = mx + b
the equation of the line is y = 1/-4x - 6