Please show the step-by-step working so that I understand

I really appreciate the help! THanks

Question 6+In a modified Ehrenfest model there are three urns, A, B and Ccontaining, between them, a total of three identical balls. At every time step one ballis selected at random (equal probabilities), removed from its current urn and randomlyplaced into one of the other two urns (again equal probability). Focussing on only urn A,there are four states: it contains 0, 1, 2 or 3 balls.(a) The transition matrix forthis Markov process for A is: