Question: Let $M, N$ be subgroups of $G$ such that $G=M\times N$. Suppose $H$ is a subgroup of $G$ such that $HM=G=HN$ and $H\cap M= H\cap N=1$. Show $M\cong N$.
Thoughts: We have that $HM=G=HN$, and so $|HN|=|HM|\implies |H||N|=|H||M|$, since $H\cap M= H\cap N=1$. Dividing both sides by $|H|$ gives us that $|M|=|N|$. Now, I believe to show equality (I guess, isomorphism only), I need to show that either $M\subseteq N$ or $N\subseteq M$, since their orders are already equal. Maybe this is just trivial? If $N=M$, then we're done, so would I then just consider the cases when $N\subset M\subseteq G$ and $M\subset N\subseteq G$, and maybe try to use that $G=M\times N$, somehow?
Any thoughts are, as always, greatly appreciated! Thank you.
Because $G = M \times N$, we know $M$ and $N$ both are normal in $G$, so $N \cong G/M = HM/M \cong H/(H \cap M) \cong H \cong H/(H \cap N) \cong HN/N = G/N \cong M$.