The question is,
"Let $X$ be a metric space, prove the following: any point and a disjoint closed set in $X$ can be separated by open sets, in the following sense that if $x$ is a point and $F$ is a closed set which does not contain $x$, then there exists a disjoint pair of open sets $G_1$ and $G_2$ such that $F \subseteq G_1$ and $x \in G_2$."
My proof is:
Let $r = \text{inf} \{d(x,f): f \in F\}$. Then let $G_1 = S_{r/3}(x)$ and let $G_2 = \bigcup_{f \in F} S_{r/3}(f)$.
$G_1 \cap G_2 = \emptyset $ because they were constructed have a distance or $r/3$ between them.
I'm not sure exactly how to formalize this idea though.
Also, do I need to show that $G_1$ and $G_2$ are open?
If I do, is it sufficient to say, for each point $\alpha \in S_{r/3}(x)$, let $r' = r/3 - d(x,\alpha)$, then there exists an open sphere, $S_{r'}(\alpha) \subseteq S_{r/3}(x)$, so $G_1$ is open? Then can I just apply the same argument for each point in $F$ then say that because $G_2$ is the union of arbitrary open sets it is open?
Thanks for your help.