Final answer:
There are 7 friends who can drive, and they can distribute themselves among the available cars in 7 ways. The remaining friends will take the bus, resulting in a total of 105 ways that the friends can travel.
Step-by-step explanation:
To find the number of ways the friends can travel, we need to consider the different possibilities for each friend. There are 7 friends who can drive, so we need to determine how these 7 friends can distribute themselves among the available cars.
Let's consider the first car with 7 seats. The driver will take one seat, leaving 6 remaining seats. Since there are 7 friends who can drive, we can choose any combination of 6 friends to fill the remaining seats in the car. This can be calculated using the combination formula:
Combination = C(7, 6) = 7! / (6! * (7-6)!) = 7 ways
Next, let's consider the second car with 5 seats. The process is similar, except now we have 6 friends left and 4 seats to fill. This can be calculated using the combination formula:
Combination = C(6, 4) = 6! / (4! * (6-4)!) = 15 ways
Finally, the remaining 8 friends will take the bus. There is only one bus available, so the number of possibilities is 1.
To find the total number of ways the friends can travel, we multiply the number of possibilities for each mode of transportation:
Total possibilities = 7 * 15 * 1 = 105 ways