To calculate the volume of the object in question we will calculate the volume of the prism and the volume of the cylinder. As you can see the total volume would be the subtraction between the volume of the prism and the volume of the cylinder.
First let's calculate the volume for the prism.
Now let's calculate the volume of the cylinder.
Total volume would be
The approximate volume of the remaining solid would be 263 cubic inches.