We are required to prove the following problem using the Inverse Function Theorem:
Let $X \subset \mathbb{C}$ open and connected. Let $f: X \to \mathbb{C}$ holomorphic. Suppose that $f(X) \subset \{z \in \mathbb{C}: |z| = 3\}$.
We want to show that $f$ is constant.
Inverse Function Theorem (for Complex Variable Functions). Let $f: X \subset \mathbb{C} \to \mathbb{C}$ holomorphic in $X$, with $X$ open set. Let $z_0 \in X$ such that $f'(z_0) \neq 0$. Then, exists $V, W \subseteq \mathbb{C}$ open sets, with $z_0 \in V \subseteq X$ and $f'(z_0) \in W$, such that, for every $z \in V$, $f(z) \in W$ and $f: V \to W$ has inverse function $g: W \to V$, with $g$ is holomorphic in $W$. Furthermore, $$g'(f(z)) = \frac{1}{f'(z)}, \quad \forall z \in V$$
Proof
If $f'(z) = 0$, for every $z \in X$, $f$ is constant, since $X$ is connected.
Suppose there is some $z_0 \in X$ such that $f'(z_0) \neq 0$. Therefore, exists $V, W \subseteq \mathbb{C}$ open sets such that $$g'(f(z)) = \frac{1}{f'(z)}, \quad \forall z \in V$$
(We are trying to find a contradiction, but I cannot do so. Somehow, we would need to use the fact that $f(X) \subset \{z \in \mathbb{C}: |z| = 3\}$).
By noticing that $g$ is holomorphic in $W$ and $f(z_0) \in W$, we can make absolute values come into the equation:
$$g'(f(z_0)) = \lim_{f(z) \to f(z_0)} \frac{g(f(z)) - g(f(z_0))}{f(z) - f(z_0)} \Longrightarrow \Big| g'(f(z_0)) \Big| = \lim_{f(z) \to f(z_0)} \frac{|g(f(z)) - g(f(z_0))|}{|f(z) - f(z_0)|}$$
Any hint/help is appreciated.