y=2x+2
The formula for a line is y=mx+b, where m is the slope and b is the y-intercept.
Since the first coordinates given are x=0 and y=2, we know that the y-intercept is (0,2), and so b=2.
In order to find m, we can plug our new value for b into the equation using any one of the other coordinates given.
For example:
y=mx+b
8=3m+2
3m=6
m=2
Then, by plugging our new value for m into the equation, we get our new equation of y=2x+2.
We can also check our solution by substituting x and y for any of the coordinates given in the table and making sure that the equation works.
Check:
6*2+2=12+2=14
10*2+2=20+2=22
Yep, it all checks out! So our equation is correct.