
The line equation in slope-intercept form is
, where m is the slope and b
is the y-intercept.
\First find the slope (m).
\the slope formula is 
Substitute the coordinates of points into the slope formula.
\
(Replace
with 6, 1, 8 and
4)
(Subtract:
)
(Subtract:
)
(Divide:
)
The slope of
.
Next find the y-intercept (b).
\
(Substitute
5 for m)
(Substitute 6, 1 for x, y)
(Multiply:
)
Apply addition property of equality: If a = b than a + c = b + c.
\
(Add 30 to each side)
Apply commutative property of addition:
.

(Apply Additive inverse property:
)
(Apply Additive identity property:
)
(Add:
)
Substitute
for m and 31 for b in the Slope-intercept form equation.

The line equation in slope-intercept form is
.