First find the volume of the large rectangular prism:

Then find the volume of the hole, shaped like a rectangular prism:

Subtract the volume of the hole from the volume of the large rectangular prism:

The volume of the solid is 420 cubic centimeters.