The slope-intercept form of the line that passes through the points (-2,8) and (1,2) is y=-2x+4 
Explanation:
Given: 
Points(x,y)= )= (-2,8) 
Points(x1,y1)= (1,2) 
To find: 
Equation in slope-intercept form=? 
Solution: 
The slope intercept form of a line is y= mx + b 
Where m= the slope 
STEP 1: Finding the slope value 

Substituting the points in the formula we get, 



 STEP 2: Finding the value of b 
Substituting the slope value in the equation we have 
y=mx+b, 
y= -2(x)+b 
y= -2(x) + b 
substituting x and y from the points given, 
8=-2(-2) + b 
8=4+b 
8-4=b 
b =4 
STEP 3: Formation of slope intercept equation 
 Substituting b and m in the equation of slope we get, 
y= mx + b 
 y= -2x+4.