
Step-by-step explanation
Step 1
the density of an object is given by:

Let
mass: 400 grams
length's box=2 cm
width´s box= 2 cm
height's box= 1 cm
Step 2
find the volume of the box

Step 3
finally, replace the values of mass and volume in the density equation

I hope this helps you