Calculate the volume of the figure.A. 15 cm^3B. 33 cm^3C.45 cm^3D. 54 cm^3Don't worry it's not a test question. It's a study guide question. I have a quiz in a few days and I need help thanks :)

Solution:
Given a composite figure made up of a square base pyramid and a cuboid.
To find the volume, V, of the figure, the formula is
[tex]\begin{gathered} V=Volume\text{ of a square base pyramid}+Volume\text{ of a cuboid} \\ V=(\frac{1}{3}\times base\text{ area}\times height)+(lwh) \end{gathered}[/tex]Where the side lengths are
[tex]\begin{gathered} l=3\text{ cm} \\ w=3\text{ cm} \\ h=3\text{ cm} \\ height=2\text{ cm} \\ base\text{ area of the pyramid}=3^2=9 \end{gathered}[/tex]Substitute into the formula above
[tex]\begin{gathered} V=(\frac{1}{3}\times9\times2)+(3\times3\times3) \\ V=6+27=33\text{ cm}^3 \\ V=33\text{ cm}^3 \end{gathered}[/tex]Hence, the answer is B