Part 1
The volume of the triangular prism is given by the formula

where
B is the area of the triangular face
L is the length of the prism
so

L=4 cm
substitute

The volume of the triangular prism is 100 cm3
Part 2
The volume of the rectangular prism is given by

substitute given values

The volume of the rectangular prism is 480 cm3
Part 3
The volume of the composite figure is equal to
V=100+480
V=580 cm3