The volume of a pyramid is:

You need the height for this. You are given the hypotenuse of a triangle, and the base of that triangle is half of 42 if you can see that. So, let's solve for the height using pythagorean theorem:

Solve for h:

Now you have all the information, let's just plug everything in:

So, your volume is 597.33 cm³. Hope everything makes sense. hmy if something doesn't.