Answer
$ a.\quad f$ is one-to-one
$b.\quad f^{-1}(x)=2x-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=\displaystyle \frac{1}{2}x+1$
2. Interchange $x$ and $y$. (This gives the inverse function.)
$x=\displaystyle \frac{1}{2}y+1$
3. Solve for $y.$
$x-1=\displaystyle \frac{1}{2}y$
$2(x-1)=y$
$y=2x-2$
4. Replace $y$ with $f^{-1}(x)$. (This is inverse function notation.)
$f^{-1}(x)=2x-2$