Let $G$ be a group acting on a set $X$. Let $g\in G$. A map $\theta_{g}:X \rightarrow X$ is defined by setting $\theta_{g}(x)=g\cdot x $ for all $x\in X$. Let $S_x{}$ be the group of permutations of $X$
The map $f:G \rightarrow S_{x}$ given by $f(g)=\theta_{g}$ is a homomorphism.
Part 1) asks: Suppose now that $G$ is simple. Show that either $g\cdot x =x$ for all $X\in X$, or that $G$ is isomorphic to a subgroup of $S_X$. - This part I believe I have done fine using the homomorphism theorem. It is part 2) that I need help with.
2) Now let $G$ be a simple group, $H$ a subgroup of index $n>1$ in $G$. By applying part 1) to the action of $G$ by left multiplication on the set $X$ of left $H$-cosets, prove that $G$ is isomorphic to a subgroup of $S_{X}$ and hence that $|G|$ divides $n!$.
I can make observations such as from the Homomorphism theorem and Lagrange, |im$\theta_g |$ divides |H| and $|G|=$|im$\theta_g|$ since ther kernel is trivial. And $|X|=n$ but don't quite now how to put it all together for a proof involving $X$ and left cosets.