You can put this solution on YOUR website! the slope of a line through two points is defined as
:
slope(m) = (y(2) - y(1)) / (x(2) - x(1))
:
let (2, 1) be (x(1), y(1)) and ((-5, -8) be (x(2), y(2))
:
m = (-8 - 1) / (-5 - 2) = -9 / -7 = (9 / 7)
:
so far we have
:
y = 9x/7 + b
:
we can use either point, so lets pick (x(1), y(1))
:
1 = (9(2)/7) + b
:
b = 1 - (18/7) = (7/7) - (18/7) = (-11/7)
:
***************************************************
slope intercept form is y = (9x/7) - (11/7)
***************************************************
: