Density=8 g/cm^3
Divide it into two rectangles
Area of rectangle 1=7*2=14 cm^2
Area of rectangle 2=5*2=10 cm^2
Calculate volume of the two rectangle parts
Volume of rectangle 1=14*200=2800 cm^3
Volume of rectangle 2=10*200=2000 cm^3
Therefore volume of prism=4800 cm^3
Mass of prism=Density*Volume
=8*4800
=38400 g