Consider the following problem, given without solution in a german abstract algebra text book:
Let $R$ be a commutative ring with $1$ and $K \subseteq R$ a subring, such that $1 \in K$ and $K$ is a field.
Show that for each $r\in R$ there exists a unique ring homomorphism $\varphi: K \left[X\right] \rightarrow R$, such that $\varphi(a) = a$ for $a \in K$ and $\varphi(X) = r$.
$K\left[X\right]$ is the ring of all polynomials over $K$ with variable $X$.
I do not know at all about how to approach this. This is the beginning of a very introductory course on abstract algebra, and I feel like I'm missing the required tools here. How can this be proven?