Find the inverse function of g(x) = x³-2 if it exists.