Hint: Let $P(x) = a_nx^n + \dots + a_0$. Then $xP'(x) = na_nx^n + (n-1)a_{n-1}x^{n-1} + \dots a_1x$. Then $P(x) - xP'(x) = 0 \Rightarrow a_i = ia_i$ for all $i = 1, \dots n$, and $a_0 = 0$. Thus, $a_n = a_{n-1} = \dots = a_2 = 0$, and $a_0 = 0$. This means that $P(x) = a_1x$.
Another way is the following: You have a basis for $P_n(x)$ which is $\{1,x,x^2,\dots, x^n\}$. You see that $L(x) = 0$, so the kernel has dimension at least $1$. Similarly,
\begin{equation}
L(1) = 1, L(x^2) = -x^2, L(x^3) = -2x^3, \dots, L(x^n) = -(n-1)x^n.
\end{equation}
We know that if a set of vectors $\{v_,\dots,v_k\}$ is linearly independent, then the set $\{a_1v_1, \dots a_kv_k\}$ is also linearly independent for $a_j \in \mathbb{R} - 0$. Thus, $\{1, -x^2, -2x^3, \dots, -(n-1)x^n\}$ is linearly independent. So, $\dim(im(L)) \geq n-1$. Since $\dim(ker(L)) \geq 1$, by rank nullity, we must have $\dim(im(L)) = n-1$ and $\dim(ker(L)) = 1$. We already know a non-zero vector in the kernel, namely $x$. Then it should be easy to say what the rest of the kernel is. We also obtained a basis for the image by the way!