Answer
$ a.\quad f$ is one-to-one
$b.\quad f^{-1}(x)=x^{2},\qquad x\geq 0$
Work Step by Step
$ a.\quad$
The graph of $f$ passes the horizontal line test (see below)
(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.
Note that both x and f(x) are nonnegative.
The domain of $f^{-1}(x)$ are nonnegative numbers x.
$ b.\quad$
To find a formula for the inverse,
1. Replace $g(x)$ with $y.$
$y=\sqrt{x}, x\geq 0, y\geq 0$
2. Interchange $x$ and $y$. (This gives the inverse function.)
$x=\sqrt{y}, y\geq 0, x\geq 0$
3. Solve for $y.$
... square both sides,
$x^{2}=y,\qquad y\geq 0, x\geq 0$
4. Replace $y$ with $f^{-1}(x)$ . (This is inverse function notation.)
$f^{-1}(x)=x^{2},\qquad x\geq 0$