Let
\[f(x) = \begin{cases} k(x) &\text{if }x>2, \\ 2+(x-2)^2&\text{if }x\leq2. \end{cases} \]
Find the function $k(x)$ such that $f$ is its own inverse.
f(x) = sqrt(x) - 2x.