[solution]
**Step 1: The quotient map is closed.** Let $C \subseteq X$ be closed. We must show $q(C)$ is closed in $X/G$, i.e., $q^{-1}(q(C))$ is closed in $X$ (by definition of the quotient topology). Now $q^{-1}(q(C)) = G \cdot C = \{g \cdot x : g \in G,\, x \in C\}$. This is the image of $G \times C$ under the action map $\mu: G \times X \to X$.
Since $G$ is compact and $C$ is closed in the compact space $X$, $C$ is compact. The product $G \times C$ is compact (product of compact spaces). The action $\mu$ is continuous, so by the [Continuous Image of Compact Sets](/theorems/305), $\mu(G \times C) = G \cdot C$ is compact in $X$. Since $X$ is Hausdorff, compact subsets are closed. So $q^{-1}(q(C)) = G \cdot C$ is closed, proving $q(C)$ is closed.
**Step 2: $X/G$ is Hausdorff.** Let $[x], [y] \in X/G$ with $[x] \neq [y]$, i.e., the orbits $Gx$ and $Gy$ are disjoint. Since $Gx$ is compact (image of $G$ under $g \mapsto g \cdot x$) and $Gy$ is compact, and $X$ is Hausdorff, there exist disjoint open sets $U \supseteq Gx$ and $V \supseteq Gy$. The saturations $\tilde{U} = q^{-1}(q(U))$ and $\tilde{V} = q^{-1}(q(V))$ are open in $X$ (since $q$ is an open map for group actions — the saturation of an open set under a continuous group action is open), and $q(\tilde{U})$ and $q(\tilde{V})$ separate $[x]$ and $[y]$ in $X/G$.
More carefully: the complement $X \setminus U$ is closed, so $q(X \setminus U) = (X \setminus U)/{\sim}$ is closed by Step 1. Then $q(U) \supseteq X/G \setminus q(X \setminus U)$, which is open. A symmetric argument works for $V$. Since the saturations of $U$ and $V$ under the $G$-action may overlap, we refine: replace $U$ by $\bigcap_{g \in G} g \cdot U$...
Actually, a cleaner approach: since $q$ is a closed surjection from a compact space to $X/G$, and closed surjections from normal spaces produce normal quotients (and compact Hausdorff spaces are normal), $X/G$ is normal, hence Hausdorff. Alternatively, use the fact that the equivalence relation $x \sim y \iff Gx = Gy$ has closed graph in $X \times X$ (the graph is $\{(x, g \cdot x) : x \in X, g \in G\} = \mu_{\text{twist}}(G \times X)$, a continuous image of a compact set, hence closed), and a quotient by an equivalence relation with closed graph in a compact Hausdorff space is Hausdorff. $\checkmark$
[/solution]