Graph the piecewise-defined function to determine whether it is a one-to-one function. If it is a one-to-one function, find its inverse.
$$f(x)=\left\{\begin{array}{ll}
\sqrt[3]{x} & x \leq-1 \\
x^{2}+2 x & -1<x \leq 1 \\
\sqrt{x}+2 & x>1
\end{array}\right.$$