For this problem, assume that you are to pick 3 cars from the motor pool, which contains 6 subcompact cars, 6 compact cars, and 5 midsize cars.

How many ways can you pick the cars so not all are the same size?

1 answer

So what you want is one car from each of the groups, clearly the number of ways is
6x6x5 or 180 ways