We have the next formula to find the volume of a triangular prism-
[tex]V=B\times h[/tex]where
B= area of the base
h= height
in our case
B=18 square inches
H= 5 inches
[tex]V=18\times5=90in^3[/tex]the volume of the triangular prism is 90 cubic inches