The area of the cuboid and the cube