Answer:
8 boxes of pencils and 2 boxes of erasers
Explanation:
2 times 4 equals 8, which is the part where she needs to buy 4 times as many pencils as erasers.
8 times 2 is 16 and 1 times 2 is 2 add both 16 and 2 together and you get 18 so she spends all $18