The graph of y=f(x+1) is shown. Which equation defines the linear function f?
f(x)=−2x−2
f(x)=−2x−3
f(x)=−2x−4
f(x)=−2x−5