This comes from Rotman, A-3.63. $k[x]$ is the polynomial ring over field $k$, $(f), (g)$, etc. are principle ideals. If $h = \mathsf{lcm}(f,g)$, then there are $s, t \in k[x]$ such that
$$h = sf = tg$$
Of course any element in $(f) \cap (g)$ is in both $(f)$ and $(g)$, and for this to be true, it must essentially be 'composed' of multiples of $f$ and $g$ and therefore $h$, as lcm, will generate an ideal that contains all such 'compositions'. But this reasoning is vague at best, what is the proof?