Is this the correct process used for polynomials to determine if it is a Linear Transformation? Determine whether or not the following is a linear transformations. 
$L: P_2 \rightarrow P_3, L(p(x)) = 5p(1)+x^2p'(x)$

My main question for this problem is whether the process I used is correct, because I have seen different ways of solving similar questions like this. I used a different process to arrive to the solution. 

$\text{If L is a linear transformation mapping a vector space V into a vector space W,} \\ p(x)= a_0+a_1x , \\ q(x) = b_0+b_1x \\ \mathbf{(I)}\qquad L(p(x)+q(x)) = L(p(x))+L(q(x)) \\ = L(a_0+a_1x+b_0+b_1x) \\ 5(a_0+a_1+b_0+b_1) +x^2(a_1+b_1)=5(a_0+a_1+b_0+b_1)+x^2(a_1+b_1) \color{lime}{LHS} \checkmark\\L(p(x)+q(x)) \\ = L(a_0+a_1x)+L(b_0+b_1x) \\ 5(a_0+a_1)+x^2(0+a_1)+5(b_0+b_1)+x^2(0+b_1)\\5(a_0+a_1)+x^2a_1+5(b_0+b_1)+x^2b_1\\=5(a_0+a_1+b_0+b_1)+x^2(a_1+b_1) \color{blue}{RHS}\checkmark \\ \mathbf{(II)} \qquad L(\alpha(p(x)) =\alpha L(p(x)) \\ L(\alpha(a_0+a_1x))\\L(\alpha a_0 +a_1x\alpha) \\ 5(\alpha a_0
+a_1 \alpha)+x^2 a_1 \alpha \color{lime}{LHS} \checkmark \\\alpha L (a_0 +a_1x) = \alpha(5(a_0+a_1)+x^2a_1) \\ 5(a_0\alpha+a_1 \alpha)+x^2 a_1 \alpha \color{red}{RHS} \checkmark \\ \text{Yes Linear Transformation}$
 A: Yes, it is correct (assuming that $P_2$ is the space of all polynomials whose degree is less than $2$), but you don't have to write each polynomial as $a+bx$. For instance, in order to prove that $L\bigl(p(x)+q(x)\bigr)=L\bigl(p(x)\bigr)+L\bigl(q(x)\bigr)$, all you need to do is\begin{align}L\bigl(p(x)+q(x)\bigr)&=5\bigl(p(1)+q(1)\bigr)+x^2(p(x)+q(x)\bigr)'\\&=5p(1)+5q(1)+x^2\bigl(p'(x)+q'(x)\bigr)\\&=5p(1)+x^2p'(x)+5q(1)+x^2q'(x)\\&=5p(1)+x^2p'(x)+5q(1)+x^2q'(x)\\&=L\bigl(p(x)\bigr)+L\bigl(q(x)\bigr).\end{align}
A: Your proof is correct. You can somewhat shorten it by noticing that if the function is linear, then it has a matrix with respect to the standard bases of $P_2$ and $P_3$.
Since $L(1)=5$ and $L(x)=5+x^2$, the matrix should be
$$
\begin{bmatrix}
5 & 5 \\
0 & 0 \\
0 & 1
\end{bmatrix}
$$
Thus the coordinates of $L(a_0+a_1x)$ should be
$$
\begin{bmatrix}
5 & 5 \\
0 & 0 \\
0 & 1
\end{bmatrix}
\begin{bmatrix} a_0 \\ a_1 \end{bmatrix}=
\begin{bmatrix}
5a_0+5a_1 \\ 0 \\ a_1
\end{bmatrix}
$$
corresponding to
$$
L(a_0+a_1x)=(5a_0+5a_1)+a_1x^2
$$
which is exactly the action of $L$. The function is linear.
