Ok, so we can fill the part of the box that corresponds to the 8x4 inches with the boxes that are 1 cubic inch - that wound be 8x4, that is 32 such boxes.
then the rest would be 8x [tex] \frac{1}{2} [/tex] inches, that is 4 cubic inches.
In order to fill in 4 cubic inches with [tex] \frac{1}{8} [/tex] inches boxes we calculate:
[tex]4/ \frac{1}{8}=4*8=32 [/tex] So it's also 32 such small boxes!