Every third cell

Any three cells in a row on this line use all three families. So the fourth cell has to match the first, the fifth the second, and so on.