what does the fundamental counting principle say?
if task #1 can happen in m ways, and task #2 can happen in n ways, and task #3 can happen in p ways, and if all three tasks are independent, then the number of outcomes is n*m*p.