Let $F$ be an extension field of $K$. let $L$ and $M$ be intermediate fields, with both finite algebraic extensions of $K$. Suppose {$a_1,...,a_n$} is a basis for $L$ over $K$ and {$b_1, ...,b_m$} is a basis for $M$ over $K$. Show that {$a_ib_j$} is a spanning set for the field $LM$ ($LM$ is the smallest field between $K$ and $F$ containing both $L$ and $M$) as a vector space over $K$.
What I have done so far is this: Let $x$ $\in$ $L$. Then $x$ can be written as a linear combination of $a_i$. Also $y$ $\in$ $M$ implies that $y$ can be written as a linear combination of $b_j$. This is where I'm stuck.