ANSWER
Number of selection possible = 729
Number of dog =3
Number of colors he wants to buy for each dog = 9
If repetition of colors are allowed, the number of selection for the three dogs
= 9³ = 729
3.5m questions
4.4m answers