Option (B) is correct.
Explanation:
Build each group from the one before it:
- flute players: f
- drummers: f+3
- dancers: twice the drummers, 2(f+3)=2f+6
Whole band:
f+(f+3)+(2f+6)=(1+1+2)f+(3+6)=4f+9
Check with f=5: 5 flute players, 8 drummers, 16 dancers, total 29. Also 4×5+9=29.
Why the other options are wrong
- (A) 4f+6 takes the dancers as 2f+3, doubling only the f and not the 3. For f=5 it gives 26.
- (C) 3f+6 takes the dancers as equal to the drummers, f+3. For f=5 it gives 21.
- (D) 3f+9 counts the drummers and dancers but leaves out the flute players. For f=5 it gives 24.