Let the seven seats be numbered 1 to 7 from left to right.
- B must be in the center, which is seat 4.
Arrangement: _ _ _ B _ _ _
- A and G must be at the extreme right, so they must occupy seats 6 and 7.
Arrangement: _ _ _ B _ {A, G} {A, G}
- The remaining players are C, D, E, and F. The remaining seats are 1, 2, 3, and 5.
- C and D must be seated as far apart as possible. Given the available seats {1, 2, 3, 5}, the maximum separation is achieved by placing them at seats 1 and 5.
Arrangement: {C, D} _ _ B {C, D} {A, G} {A, G}
- The remaining players are E and F, who must occupy the remaining seats, 2 and 3.
Arrangement: {C, D} {E, F} {E, F} B {C, D} {A, G} {A, G}
The two ends are seat 1 and seat 7.
- Seat 1 can be occupied by C or D.
- Seat 7 can be occupied by A or G.
From the options:
- C can be at an end (seat 1).
- D can be at an end (seat 1).
- F must be in seat 2 or 3, so it cannot be at either end.
- G can be at an end (seat 7).
Thus, F is the only player listed who cannot be seated at either end.