For given solid and according to given data
Volume of the solid=Volume of cone + Volume of cylinder
Volume of cone $$=1/3πr^2h$$
$$=1/3\times 22/7\times 7\times 7\times 9$$
$$=462\ cm^3$$
Height of cylinder=Total height of solid-height of cone
$$=30-9$$
$$=21\ cm$$
Volume of cylinder $$=πr^2h$$
$$=22/7\times 7\times 7\times 21$$
$$=3234\ cm^3$$
Therefore, Volume of solid $$=462+3234$$
$$=3696\ cm^3$$