The domain space has dimension 6, and the range space has dimension 2 notice those bottom two spots of the range space are always 0, so you don't get any dimension from those entries. A basis for the range space can just be the two matrices with 1 in the top left and then the matrix with 1 in the top right and all the rest 0. See why they span and why they are linearly independent? It should be obvious from definitions. Now apply the rank nullity theorem to see why Nullity(T)=6-2=4.

As far as finding the nullspace, it is just . So you see once you pick one of the the others are set, so you get no freedom, but you are still free to choose anything for the three entries on the bottom row. This gives the 4 dimensions that we calculated above.