How do you find the volume of compound shapes

so in this case, we have a rectangular prism, a box, at the bottom, and a cone on top.
the prism is just a 17x9x5, and its volume is just that product.
the cone uses the short side of 9 for its diameter, so the diameter of the cone is 9, meaning its radius is half that or 4.5, whilst its height is 10.
[tex]\bf \stackrel{\textit{volume of the prism}}{(17\cdot 9\cdot 5)}~~+~~\stackrel{\textit{voume of the cone}~~\frac{\pi r^2 h}{3}}{\cfrac{\pi (4.5)^2(10)}{3}}\implies 765+\cfrac{202.5\pi }{3}~\approx~977.0575[/tex]