Answer:
y = -3x+20
Step-by-step explanation:
First we will write the equation in point-slope form,
[tex]y-y_1=m(x-x_1)[/tex], where m is the slope and [tex](x_1, y_1)[/tex] is a point on the line.
We must find the slope. The formula for slope is
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
Using our two points, we have
m = (8-2)/(4-6) = 6/-2 = -3
We will use the first point and this slope:
y-2 = -3(x-6)
Using the distributive property, we have
y-2 = -3(x)-3(-6)
y - 2 = -3x--18
y - 2 = -3x+18
Add 2 to each side:
y-2+2 = -3x+18+2
y = -3x+20