Let $G$ be a group of order $mn$, where $m$ and $n$ have no common factor. If $G$ contains exactly one group of order $m$ and exactly one subgroup of order $n$, prove that $G$ is the direct product of $M$ and $N$.
In order to prove $G$ is the direct product of two subgroups, we need prove these two subgroups are both normal,Intersection is trivial and every element of $G$ is the product of two elements in $M$ and $N$. If we know $M$ and $N$ are both normal, I can use lagrange theorem to prove their intersection is trivial. I don't know how to prove they are normal and $G=MN$.