we have Cube shaped boxes with the following volume
[tex]V_b=6^3[/tex]... and a rectangular prism with the following volume
[tex]V_p=24\cdot24\cdot30[/tex]In order to determine the number of boxes that fit into the container, we can divide this two volumes
[tex]n=\frac{V_p}{V_b}=\frac{24\cdot24\cdot30}{6\cdot6\cdot6}=4\cdot4\cdot5=80[/tex]So, we can fill the container with 80 boxes