The setup: 4 girls (each scoring g) and 6 boys (each scoring b) average 24. Each girl's mark is at least a boy's and at most double it. We count the distinct integer values of (2 girls + 6 boys).
Step 1 — The total. 4g+6b=10×24=240, which simplifies to 2g+3b=120.
The quantity we want is 2g+6b. Since 6b=240−4g:
2g+6b=2g+(240−4g)=240−2g.
Step 2 — Turn the word constraints into inequalities. From 2g+3b=120, b=3120−2g.
- g≥b: g≥3120−2g⇒5g≥120⇒g≥24.
- g≤2b: g≤32(120−2g)⇒7g≤240⇒g≤34.29.
So g runs over [24, 34.29].
Step 3 — Count the integer values of 240−2g. As g sweeps that interval, 240−2g covers [171.4, 192]. The integers inside are 172,173,…,192:
192−172+1=21.
Endpoint check: 240−2g=192⇒g=24,b=24 ✓; =172⇒g=34, and g≤2b still holds ✓.
Answer: A
💡 Teacher tip: Once g is chosen, b is fixed — so drive everything through the single variable g. The two inequalities carve out an interval, and you just count the integers of 240−2g inside it.