【Example 6】10 cars line up in a single file, requiring that 3 sedans be adjacent, and 2 minivans also be adjacent.
Example 6 Solution: First, consider the 3 sedans and 2 minivans as two wholes, and arrange them together with the other 5 cars, which can be done in $A_{7}^{7}$ different ways. Then, considering the internal arrangements of the sedans and minivans, there are $A_{3}^{3}$ and $A_{2}^{2}$ different ways to arrange them internally. Therefore, there are a total of $A_{7}^{7} \cdot A_{3}^{3} \cdot A_{2}^{2}=7! \cdot 3! \cdot 2!=12 \cdot 7!$ different ways to arrange the vehicles in a line.