Since each small cube has a volume of 23=8 and the volume of the outer box is 83=512, there must be 512÷8=64 cubes in the box. If you take away all the cubes that are touching the box, you are essentially uncovering an inner rectangular box with a square base of side 4 and a height of 6 . A front view is shown below.The volume of this inner rectangular box is 4×4×6=96. Since each cube has a volume of 8 , there are 96÷8=12 cubes that are not touching the box, which means there are 64−12=52 cubes that are touching. You also could've taken the straight-forward approach of counting up the cubes along the sides. If you took this route, you should've gotten something along the lines of 16+16+8+8+4=52