Well, by your above reasoning, you have that $[E:F]$ divides $[EE':F]$. Similarly, $[E':F]$ also divides $[EE':F]$. This implies $lcm([E:F],[E':F])$ divides $[EE':F].$ Since they are assumed co-prime, $lcm([E:F],[E':F])=[E:F][E':F].$
So in conclusion, for some positive $k\in \mathbb{N}$, $$ k[E:F][E':F]=[EE':F]\leq [E:F][E':F], $$ implying that $k=1$, yielding the desired.