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?
This question is a bit subtle. Because both $K$ and $F'$ are subfields $K'$ we can compute $[K':F]$ in two different ways $$ [K':K][K:F]=[K':F]=[K':F'][F':F] $$ and conclude that $N$ must be divisible by both $m$ and $n$. A common argument here is the case when we know that $m$ and $n$ are coprime. Then we can conclude that we must have $N=mn$.
But that's about all that we can say in the general case.
A concept arising from this is that of linearly disjoint extension. I once wrote a quick explanation of this for our study group. Basically the equation $N=mn$ holds, iff $K$ and $F'$ are linearly disjoint over $F$. A necessary (but not sufficient - see the second bullet) condition for linear disjointness is that $F'\cap K=F$. It is not hard to show (see the notes) that if both $K$ and $F'$ are Galois over $F$, then this condition is also sufficient. As in that case they are also Galois over their intersection, it follows that