- A2880
- B5760
- C1440
- D362880
Step-by-Step Solution
With 5 boys and 4 girls the only alternating pattern possible is B G B G B G B G B — the line must both start and end with a boy, since a girl-first line would need as many girls as boys. So the 5 boys fill the five boy-slots in 5! = 120 ways and the 4 girls fill the four girl-slots in 4! = 24 ways: . Trap 5760 doubles the count for a girl-first line that cannot exist here. Trap 362880 = 9! ignores the alternating rule. Trap 1440 halves the correct count for a symmetry the line does not have.
Answer: A) 2880