Computations with a given linear transformation

Let T:R3R3 be the linear transformation defined by T([xyz])=[x+y2zxy+2z].

  1. Find the matrix that represents T with respect to the standard basis for R3.
  2. Find a basis for the kernel of T.
  3. Determine the rank of T.