Find the volume of what the full rectangle would be then find the area of the missing piece and subtract:
10 x 12 x = 960 cm^3
4 x 5 x 8 = 160 cm^3
960 - 160 = 800 cm^3