The table given below shows the total number of wooden and mechanical pencils…
2025
The table given below shows the total number of wooden and mechanical pencils in five shops and it also shows the price of total mechanical and wooden pencils.

(Cost of one wooden pencil = Rs 5 and one mechanical pencil = Rs 20.)
Find the average number of wooden pencils in A, mechanical pencils in B and mechanical pencils in E.
- A.
10
- B.
5
- C.
16
- D.
15
- E.
12
Show answer & explanation
Correct answer: D
Concept
Each shop gives two facts: the TOTAL pencils (wooden + mechanical) and the TOTAL price. With unit prices fixed (wooden = Rs 5, mechanical = Rs 20), each shop is a pair of linear equations in the unknown counts. Let w = wooden and m = mechanical for a shop:
Count equation: w + m = (total pencils).
Price equation: 5w + 20m = (total price).
Dividing the price equation by 5 gives w + 4m = (price ÷ 5). Subtracting the count equation eliminates w and isolates the mechanical count: 3m = (price ÷ 5) − (total pencils). Then w = total − m. Finally, average of k chosen quantities = (their sum) ÷ k.
Application
Shop A — wooden count:
w + m = 38 and 5w + 20m = 490, so w + 4m = 98.
Subtract: 3m = 98 − 38 = 60, so m = 20 and w = 38 − 20 = 18. Wooden in A = 18.
Shop B — mechanical count:
w + m = 47 and 5w + 20m = 415, so w + 4m = 83.
Subtract: 3m = 83 − 47 = 36, so m = 12. Mechanical in B = 12.
Shop E — mechanical count:
w + m = 40 and 5w + 20m = 425, so w + 4m = 85.
Subtract: 3m = 85 − 40 = 45, so m = 15. Mechanical in E = 15.
Required average = (18 + 12 + 15) ÷ 3 = 45 ÷ 3 = 15.
Cross-check
Verify each split satisfies its price equation: A → 5(18) + 20(20) = 90 + 400 = 490 ✓; B → 5(35) + 20(12) = 175 + 240 = 415 ✓; E → 5(25) + 20(15) = 125 + 300 = 425 ✓. The three required quantities (18, 12, 15) sum to 45, and 45 ÷ 3 = 15.
Shop | Total | Price | Wooden | Mechanical |
|---|---|---|---|---|
A | 38 | 490 | 18 | 20 |
B | 47 | 415 | 35 | 12 |
E | 40 | 425 | 25 | 15 |