The formula to find the volume of a triangular prism is the following:
![V=(1)/(2)h\cdot b\cdot w](https://img.qammunity.org/2023/formulas/mathematics/college/3frys292106kgrnw3dxwi8epyxf2s2f8za.png)
where:
h - height
b - base length
w - width
for this problem:
h = 8 cm
b = 5 cm
w = 7 cm
then
![V=(1)/(2)8\cdot5\cdot7](https://img.qammunity.org/2023/formulas/mathematics/college/1gexr7l5xqfs8ykoxn7cuiyrcj25rlchxx.png)
solving this, we obtain that the volume of the triangular prism is 140 cm^3 or cubic centimeters