Correct. Find the volume of each part and then add them together.
Volume of smaller pyramid:
Volume of larger pyramid:
Total volume: cubic centimeters