According to Artin's Algebra, chapter 15, section 3, the mapping property of the degree of field extension is as follows:
Let $F\subset K\subset L$ be fields. Then $[L:F]=[L:K][K:F]$, where $[K:F]$ represents the dimension of $K$, as an $F$-vector space.
My question is based on its Corollary: Let $\mathcal{K}$ be an extension field of a field $F$, let $K$ and $F'$ be subfields of $\mathcal{K}$ that are finite extensions of $F$, and let $K'$ denote the subfield of $\mathcal{K}$ generated by the two fields $K$ and $F'$ together. Let $[K':F]=N$, $[K:F]=m$ and $[F':F]=n$. Then $N\leq mn$.
At this corollary, I guess $N=mn-d$, where $d$ is the degree of the $gcd(f(x),g(x))$. Here $f(x)$, $g(x)$ represent the monic irreducible polynomials that generate $K$ and $F'$. I mean: $K=F[x]/(f)$, $F'=F[x]/(g)$. Am I right? If not, what is $N$ supposed to be?