The side of the cube is a = 5 cm.
The dimensions of triangular prism is,
Base a = 2.5 cm.
Height of base triangle h = 2.5 cm.
Length of prism is l = 5 cm.
The formula for the volume of cube is,
[tex]V_C=a^3[/tex]
Determine the volume of cube.
[tex]\begin{gathered} V_C=(5)^3 \\ =125 \end{gathered}[/tex]
The formula for the volume of triangular prism is,
[tex]V_P=\frac{1}{2}\cdot a\cdot h\cdot l[/tex]
Detemine the volume of remaining solid.
[tex]\begin{gathered} V=V_C-V_P \\ =125-\frac{1}{2}\cdot2.5\cdot2.5\cdot5 \\ =125-15.625 \\ =109.375 \end{gathered}[/tex]
So remaining volume of solid is 109.375 centimeter cube.