Let $G$ be a finite group with at least two (distinct) subgroups of index $2$, and suppose that at least one of the index-$2$ subgroups of $G$ is simple. Prove that $G\cong \mathbb{Z}_2 \times \mathbb{Z}_2$.
I am pretty stuck on this problem. I know that subgroups of index $2$ are normal. I also know that since they intersect trivially, that their elements commute with one another, but I'm not sure where to go in terms of proving the isomorphism.
Suppose $H$ and $K$ subgroups of $G$ with index $2$, and $H$ is simple. As you observed, $H\cap K = \{e\}$ by the second isomorphism theorem. The second isomorphism theorem also tells us that
In particular, we have $G = HK$ and $H\cap K = \{e\}$, so $G = H\times K$ is a direct product.
Edit: Elaboration on OP's questions