Simplest / (and shortest) way to know it is to multiply 6*5*17 and then subtract (6-2)*(5-2)*(17-2) from it: number of cubes touching the box = 6*5*17 - (6-2)*(5-2)*(17-2) = 330. ANSWER Notice that (6-2), (5-2) and (17-2) are the dimensions of the interior block 1 cm inside of the base block.