Let $G$ be a group and $H,K$ subgroups of $G$. Furthermore, let $O_H=\{aH|a\in G\},O_K=\{aK|a\in G\}$ and $O_{H\cap K}=\{aH\cap K|a\in G\}$.
I was able to prove that $f:O_{H\cap K}\rightarrow O_H\times O_K$, $f(aH\cap K)=(aH,aK)$ is well-defined and onto.
Now I want to prove: if $[G:H]<\infty$ and $[G:K]<\infty$, then $[G:(H\cap K)]<\infty$. But how to do it? I only know that by Lagrange Theorem it holds $[G:H]=|G|/|H|$, $[G:K]=|G|/|K|$ and also $[G:(H\cap K)]=|G|/|H\cap K|$.