Answer: y= x-2
To draw this on the graph use the y-intercept to count the number of units you need to move up or down along the y axis. Then to plot the second point using the slope value to determine how many units to move up or down from the y-intercept point in this case it is 1. join the points to draw the line of slope intercept on the graph
Solution:
Find the slope in order to find the line of equation
m= y2-y1/x2-x1
Take both the coordinates and name it A (4,2) B(3,1) for convenience
m= 1-2/3-4
m=-1/-1
m=1 (slope)
Now find the y intercept using the equation below
y=mx+ b
where
y = y coordinate
m= slope
x= x coordinate
b= y intercept
SO
Note: use any of the coordinate the answer would be the same in either case
I will be using the coordinate (4,2)
y=mx+b
2=(1)(4)+b
2-4=b
-2=b
So the equation is
y= x-2