Math-Measurement Unit

The volume of the candle box is 1024 cm².
I don't know how to do the purple cube.