Let f(x)=y, then we have
y=x+12implies2y=x+1;x=2y−1
Let f1(x)=x;x=2y−1, replacing y with x,
f1(x)=2x−1impliesf1(−2)=2(−2)−1=−5