A cube and cuboid have the same base area. The volume of the cube is…