Let $H$ and $K$ be two subgroups of a group $G$. Suppose that $H$ is normal in $G$ and $G/H\simeq K$. My question is when $G\simeq H\times K$?
My guess is if $K$ is normal in $G$ and $G=HK$ then $G\simeq H\times K$. I want to know whether my guess is right. I do not need any proof, any help is appreciated.
We need these conditions:
$1.)$ $G=HK$
$2.)$ $H$ and $K$ normal in $G$.
$3.)$ $H \cap K= \{1\}$
Then $G=HK \cong H \times K$