The table shows several values for x and f(x).
Which of the following functions could represent f(x)?
f(x)=x+2
f(x)=−2x+1
f(x)=x2+1
f(x)=−x+2