Is the linear transformation

$\displaystyle T:P1=>R^3$
$\displaystyle T(at+b)=(a,2a,a-b)$

Find the nucleus and the image of T
A basis for the nucleus and for image
Dimension of the nucleus and the image