To solve the problem, we start by determining how many cable cars will be needed for 51 people, given that each cable car holds 6 riders.
Part A:
- Divide the total number of people by the capacity of one cable car: \[ \text{Number of cable cars} = \frac{51}{6} = 8.5 \]
- Since you can't have a fraction of a cable car, round up to the nearest whole number. Therefore, the total number of cable cars needed is: \[ 9 \text{ cable cars} \]
Part B:
- Each cable car holds 6 people, so for the 9th cable car, the number of slots remaining to be filled is: \[ 6 - (\text{people in first 8 cars}) = 6 - (8 \times 6 - 51) = 6 - 3 = 3 \]
Thus, Part A would be 9 cable cars, and Part B would be 3 people needed to fill the next cable car.