Answer
$ a.\quad$ f is one-to-one
$b.\quad f^{-1}(x)=x-2$
Work Step by Step
$ a.\quad$
The function is linear, non-constant.
Its graph is an oblique line that passes the horizontal line test
(It is impossible to draw a horizontal line that intersects a function's graph more than once.)
It is one-to-one and has an inverse.
$ b.\quad$
To find a formula for the inverse,
1. Replace $f(x)$ with $y.$
$y=x+2$
2. Interchange $x$ and $y$. (This gives the inverse function.)
$x=y+2$
3. Solve for $y.$
$x-2=y$
4. Replace $y$ with $f^{-1}(x)$ . (This is inverse function notation.)
$f^{-1}(x)=x-2$