You can put this solution on YOUR website! How do you solve questions like f(0)=2, f(2)=4 and write an equation for the linear function?
That's the same problem as
Find the equation of the line that passes through the
two points (0,2) and (2,4)
except that when you finish you write f(x) instead of y.
Use the slope formula:
Use the point slope formula:
Change y to f(x)
f(x) = x + 2
Edwin