The correct option is B f:Z→Z defined by f(x)=x+2
f:Z→Z, f(x)=x+2 is one one and onto function. Hence f(x) is invertible.
f:Z→Z, f(x)=x3 is one-one
And the range ≠Z. Hence it is not onto function, so not invertible.
f:Z→Z defined by f(x)=2x is one one but has only even integers in the range, hence not onto, so not invertible.
f:Z→Z defined by f(x)=|x| is many one function. So not invertible.