Question 282417
You seem to know that we are dealing with linear equations.
Have you heard of y=mx+b?
m is the slope and b is the y intercept?
Have you heard of this to find slope?
(y-y)/(x-x)=m

So we know two points.
(2,6) and (0,2)
Where did I get (0,2)? the y intercept 2 is when x=0. That means (0,2)
(y-y)/(x-x)=m

6-2/2-0=4/2=2 slope is 2
plug in the new info slope =2 and old info y intercept=2
y=mx+b
y=2x+2
done