Answer: y = x+2
=============================================================
Step-by-step explanation:
The two red points are (0,2) and (5,7)
Find the slope of the line through (x1,y1) = (0,2) and (x2,y2) = (5,7)
Use the slope formula
m = (y2 - y1)/(x2 - x1)
m = (7 - 2)/(5 - 0)
m = 5/5
m = 1
The slope is m = 1.
The y intercept is b = 2 as this is where the diagonal line cuts through the y axis.
Therefore y = mx+b turns into y = 1x+2, which is the same as y = x+2
This says: "whatever the input x is, add 2 to it to get the y output". So for instance, if the input is x = 5, then we add on 2 to get y = x+2 = 5+2 = 7. This shows how (5,7) is one point on the diagonal line.