Side of solid cube =6 feet
Side of a square hole =2 feet
∴ Volume of the cube =(sides)3=(6)3
=216 cubic feet
=6×2×2
=24 cubic feet
∴ Volume of the remaining solid
= Volume of solid cube - volume of hole
=216−24
=192 cubic feet
Thus, the required volume is 192 cubic feet.