Answer:

f(x) = 2x + 1

or

f(x) = 2x - 1

Step-by-step explanation:

I think that you meant to write:

y =- 2x + 1

y = 2x -1