You can
put this solution on YOUR website!Notice how as x goes up by 1, y goes up by 3. So this implies a linear relationship. This means that the equation is a line.
So let's find equation of the line through the first two points (0,-2) and (1,1) (note: you can pick any pair of points)
First let's find the slope of the line through the points
)
and

Start with the slope formula.

Plug in

,

,

,

, ,

Subtract

from

to get

Subtract

from

to get

Reduce
So the slope of the line that goes through the points
)
and
)
is
Now let's use the point slope formula:

Start with the point slope formula

Plug in

,

, and

Rewrite

as

Distribute

Multiply

Subtract 2 from both sides.

Combine like terms.

Simplify
So the equation that goes through the points
)
and
)
is
--------------------------------------
Answer:
So the function takes the x values and produces the y values is
Notice how the graph of

goes through the points (0,-2), (1,1), (2,4), (3,7) and (4,10). So this visually verifies our answer.

Graph of