Show how you got the answer, giving brainliest :)

Answer:
Step-by-step explanation:
For the rectangular prism:
V = l*w*h <== substitute the values (from above) for the variables
V = 5*8*3
V = 40*3
V = 120 cm^3 (cubed)
For the triangular prism:
V = 1/2*b*h*l <== substitute the values (from above) for the variables
V = 1/2*6*3*2
V = 3*3*2
V = 9*2
V = 18 cm^3 (cubed)
Hope helps!