Slope-intercept equation:
y=mx+b
Where:
m= slope
b=y- intercept
Point 1 = (x1,y1) = (-2,1)
Point 2 = (x2,y2)= (4,2)
First, find the slope by applying the formula:
Now we have:
y=1/6x+b
Replace x,y by a point ( for example point 1 (-2,1)) and solve for b:
1 = 1/6 (-2) +b
1= -1/3 +b
1+1/3 = b
b= 4/3
Final equation:
y= 1/6x+4/3