Natasha is making a coloured tower as shown. She has thirty six small cubes, with equal numbers of red (R), blue (B) and yellow (Y). Each row is of one colour, and no two rows which are next to each other are the same colour. The top three rows are coloured as indicated.