Find the distance between two opposite corners of the box.
Draw a right triangle on the base of the box.
Find the measure of the hypotenuse.
4² + 5² = c²
Now draw a right triangle from the bottom corner to the top of the box.
Find the measure of that hypotenuse.
c² + 3² = d²