Answer:
y = -2x+8
Explanation:
First find the slope
m = ( y2-y1)/(x2-x1)
= ( -4-4)/(6-2)
= -8/4
= -2
The slope is -2
We can use the slope intercept form
y = mx+b where m is the slope and b is the y intercept
y = -2x +b
Using the point ( 2,4)
4 = -2(2) +b
4 = -4+b
Add 4 to each side
4+4 = -4+4+b
8 = b
y = -2x+8