Sign In
Notice that some of the cars are identical. We must take this into account when calculating the number of ways we can arrange them.
168
To determine how many ways we can arrange the cars, we first have to determine how many cars there are in total.
r|l
First class & 2 cars
Second class & 5 cars
Restaurant & 1 car
Total & 8 cars
We have a group of 8 cars and we want to know how many ways they can be arranged. Notice that this is a permutation where two types of cars — the first class and second class — occur multiple times. Therefore, we want to use the following formula.
There are 168 ways to arrange the cars.