Assignment:
There are two small cities, Santa Clara and Santa Rosa. Santa Clara has 20 houses and Santa Rosa has 15 houses. An inspector must randomly choose 5 houses in Santa Clara and 7 houses in Santa Rosa to inspect. How many different ways can this be done?
Provide complete and step by step solution for the question and show calculations and use formulas.