Step 1: Find the area of the base.
\begin{align*}
\text{area of a triangle} = \amp \frac{1}{2} b\, \times \,h\\
= \amp \frac{1}{2} \times 8 \text{cm} \times 12\, \text{cm} \\
= \amp 48\, \text{cm}^2
\end{align*}
Step 2: Multiply the area of the base by the height of the solid to find the volume
\begin{align*}
\text{volume} = \amp \text{area of base} \times \text{height}\\
= \amp \frac{1}{2} b \times h \times H\\
= \amp 48 \,\text{cm}^2 \times 12\, \text{cm} \\
= \amp 576\, \text{cm}^3
\end{align*}
The volume of the triangular prism is
\(\, 576 \, \text{cm}^3\)