I got
$$f^{-1}(x) = (x-2)^2$$
Is this answer right?
I got
$$f^{-1}(x) = (x-2)^2$$
Is this answer right?
Yes, your answer is correct. For future users:
\begin{align} y &= \sqrt{x} + 2 \\ x &= \sqrt{y} + 2 \\ (x-2) &= \sqrt{y} \\ (x-2)^2 &= y \end{align}
The idea is to replace $x$ with $y$ and solve for $y$.
Assuming you do mean $\sqrt{x}+2$ and not $\sqrt{x+2}$, the answer is correct, except that I'd add that the domain of $f^{-1}$ is $x\ge 2$.
For $x \geq 0$ you have $f(x) =y \geq 2$ and $$y= \sqrt{x}+2 \iff \sqrt{x}=y-2 \iff x=(y-2)^2=:f^{-1}(y).$$