find slope
for points (x1,y1) and (x2,y2)
slope=(y2-y1)/(x2-x1)
given
(-1,4) and (2,-2)
slope=(-2-4)/(2-(-1))=-6/(2+1)=-6/3=-2
find y intercept
goes through y axis at y=2
y=mx+b
m=slope
b=yint
equation is y=-2x+2
one pont is (0,2)
another is (1,0)
table
x,y
-2,6
-1,4
0,2
1,0
2,-2
3,-4