We have 12 Mothers and 87 different Varieties, and each mother wants to try every variety, so this is simply 12×87 I think the word dozen gets a lot of people confused, just think a dozen of eggs you have 12 eggs
[tex]12 \times 87 = 1044 \: containers in total[/tex]