If it's not 6 cubic feet (because by the wording the answer is given).
If one dimension of the amount of soil they remove is 6, then you have to do 6*6*6= 216
If the total amount of soil removed is 6 cubic feet, then the dimensions of the cube would be