Answer:
y=x+6
Explanation:
the general form is y=mx+b where m is the slope and b is the intercept.
We can see that the intercept is 6.
Let's calculate the slope. Note: we should have a positive slope because as x increases, y increases.
slope = rise/run = (y2-y1)/(x2-x1)
Pick 2 points from the line. Any 2 points will work. I'm going to use (0,6) and (2,8).
slope = (6-8)/(0-2)
= (-2)/(-2) = 1
The slope is 1. So for every increase of 1 on the x axis, the y axis increases by 1. You can quickly check that visually.
So the formula:
y=x+6