Assignment:
There are two small towns, Greenville and Yellowville. Greenville contains 20 houses and Yellowville contains 15 houses. The state safety inspector is asked to randomly inspect 5 houses in Greenville and 7 houses in Yellowville. In how many ways can this be done (Hint: this is not a permutation)?
Provide complete and step by step solution for the question and show calculations and use formulas.