Approach 1Had the number of X and Y brand pens purchased been equal, the average price/ pen would have been the simple average of 2.8 and 4 (which is 3.4).
The actual average price/ pen is 42/12 =3.5.
3.5 > 3.4, so Elena would have purchased more X pens than Y pens.
That eliminates A, B and C.
Next I could choose one option and work backward to check whether it fits.
e.g. (D)7.
Total revenue:
7 x 4 =28
5 x 2.8 =14
Total: 28 + 14 =42
This fits. So, must be correct.
Alternately if I try (E) 8.
Total revenue:
8 x 4 =32
4 x 2.8 =11.2
Total: 32 + 11.2 > 42.
Too high. Rejected. (D) must be correct.
Approach 2Say, all the pens purchased were the $4 ones. She purchased 12 pens. So that would bring the total expense to $48.
(I considered $4 pens instead of $2.8 simply because 4 looks like an easier number to deal with.) 4 x12 = $48. That’s too much. The actual total expense is $42.
The only way to reduce the expense is to exchange a certain number of the more expensive pens with the same number of cheaper pens. Since the total number of pens has to remain 12.
We have to go from $48 to $42. So, we have to reduce the total revenue by $6.
What happens when I exchange one expensive pen for one less expensive pen? The revenue reduces by 4-2.8 = $1.2.
So in order to reduce the revenue by $6, I would need to make 6/1.2 = 5 such exchanges. So overall, the number of the more expensive pens would be 12 - 5 = 7..