For this case we have that each pencil box has 5 pencils, so:
[tex]\frac {152} {5} = 30.4[/tex] pencil boxes, this can be rounded to 31 pencil boxes.
On the other hand, if we have each pencil cost $2 then:
[tex]152 * 2 = 304[/tex]
Thus, the 152 pencils cost $304
Answer:
31 pencil boxes
152 pencils cost $304