CONTEXT
The exercises read:
Exercise 1.22: Let $R=K[x]$. Use the structure theorem for finitely generated modules over a principal ideal domain to show that every finitely generated $R$-module has a finite free resolution.
Exercise 1.23: Let $R=K[x]/(x^n)$. Compute a free resolution of the $R$-module $R/(x^m)$, for any $m\leq n$. Show that the only $R$-modules with finite free resolutions are the free modules.
Let me start with Exercise 1.22. Let $M$ be an $R$-module. Using the structure theorem for finitely generated modules over principal ideal domains, we write
\begin{equation*} M \simeq R^m \oplus R/(r_1) \oplus \ldots R/(r_n). \end{equation*}
By taking generators of $M$, it is clear that there is a surjective map from $R^{n+m}$ to $M$. Let $K$ denote the kernel of this map. Then we find the following finite free resolution of M
\begin{equation*} \mathcal{F}\colon 0 \rightarrow K \rightarrow R^{n+m} \rightarrow M \rightarrow 0, \end{equation*}
concluding the exercise.
My problems begin with Exercise 1.23. Here I try to mimc the approach above, and consider the finite free resolution
\begin{equation} \label{eqn:1} \mathcal{F}\colon 0 \rightarrow (x^m) \rightarrow R\rightarrow R/(x^m) \rightarrow 0. \end{equation}
The idea here being, again, to consider a surjective map from a free $R$-module to our module, and then take the kernel to construct an exact sequence. In page 45 of Eisenbud, he suggests doing something similar for the general case, in fact, he says:
It is easy to see that every module has a free resolution and, if $R$ is graded, that every graded module has a graded free resolution. To construct one, begin by taking a set of generators for $M$ and map a free module onto $M$ by sending the free generators of the free module to the given generators of $M$. Let $M_1$ be the kernel of this map, and repeat the procedure, now starting with $M_1$.
My answer to Exercise 1.23 is wrong, and the solution can be seen here and here. However, I fail to see what is wrong with my approach, and I think this is because I have trouble understanding free modules and free resolutions properly. So here are my questions.
QUESTIONS
Why is $R/(x^m)$ not a free $R$-module? The set $\{1\}$ is clearly a generating set, why is it not a basis?
How does my free resolution for Exercise 1.23 fail? I would argue that it is exact and both $(x^m)$ and $R$ are free $R$-modules, so, what am I missing here?
Why does my approach work for Exercise 1.22 but not for Exercise 1.23?
Why does my approach fail in general compared to the one explained by Eisenbud?