Answer:
y = 2x + 2
Explanation:
Here we're asked to come up with a linear function relating x and y.
First we find the slope of the line. As we move from (0, 2) to (3, 8), x increases by 3 and y by 6. Thus, the slope is
m = rise / run = 6 / 3 = 2.
Plugging givens into the slope-intercept formula y = mx + b, we find b:
2 = 2(0) + b, so that b = 2.
Then the desired relationship between x and y is y = 2x + 2.