Let the function $f$ be defined as follows:
$$f(x) = 3x^2 - 12x + 9$$
The function $g$ is defined to be the inverse of $f$. If $y = f(x)$, then express $x$ in terms of $y$. Which of the following represents the correct expression for the inverse function $g(y)$?