Computations with a given linear transformation

Let T:R3R3 be the linear transformation defined by T([xyz])=[x+y2zxy+2z].
(a) Find the matrix that represents T with respect to the standard basis for R3.
(b) Find a basis for the kernel of T.
(c) Determine the rank of T.