The answer is 179!!!!!!!!!!!!!!!!!!!!
Are you sure there weren't any other numbers in the problem? You can't solve for the volume with out at least two numbers for length, width, or height. Or are you solving for a cube?
You can see that the price of the first pack is less than twice the price of the second whereas you get lot more than twice much more pencils for it (30>24) so the first deal is clearly way better.