Exercise: Take $f \in F[x]$ and call $n$ the degree of $f$. Prove that $K := F[x]/(f)$ is an $n$-dimensional $F$-vector space. Moreover, the cosets of $1,x,\dots,x^{n-1}$ form a basis for it. Conclude that if $f$ is irreducible, then $K$ is a field extension of $F$ of degree $n$.
Now, for your problem, consider the ring homomorphism $\operatorname{ev}_b \colon F[x] \to F(b)$ that evaluates a polynomial at $b$. From what you said, $\ker(\operatorname{ev}_b) = (m)$. Thus, the image $\operatorname{im}(\operatorname{ev}_b)$ [being isomorphic to $F[x]/(m)$] is a field extension of $F$ of degree $n$, and since it contains $\operatorname{ev}_b(x) = b$, it follows that $\operatorname{im}(\operatorname{ev}_b) = F(b)$.