Let $V$ be the vector space $P_2$(x) of polynomials in $x$ of degree 2 or less, $W$ be the vector space $M_{2,2}$ of 2×2 real matrices and $T$ be the linear transformation
$T: V → W:$ $a + bx + cx^2$ $\mapsto$ \begin{bmatrix} a-b & b-c \\ 0 & c-a \end{bmatrix} Compute bases for the kernel and range of $T$ and for $V$ and hence verify the general rank-nullity theorem for $T : V → W$.
I don't understand how to get the kernel and range when the linear transformation maps to a vector space of matrices and so cannot compute bases. Any help/solutions would be appreciated.