Answer: The function is: f(x) = 2*(x +1)
Explanation:
This can be translated to:
"write an equation of a function where a whole number x corresponds to the next number to x"
the next whole number to x is x+1., and we want the double of that.
Then we have that our function is:
f(x) = 2*(x +1)
Now we can do a little table of it:
f(0) = 2*(0 + 1) = 2
f(1) = 2*(1 + 1) = 4
f(2) = 2*(2+ 1) = 6