Assignment:
A particular brand of shirt comes in 12 colors, has a male version and a female version, and comes in three sizes for each sex. How many different types of this shirt are made?
Provide complete and step by step solution for the question and show calculations and use formulas.