what is the formula to find the depth of a cube