Answer :

density = mass/volume
D = 500 g /200 cm^3
D = 2.5 g/cm^3

hope this helps!