A rectangular packet has inner dimension 16cm by 12cm by 6cm. How many cubes of…