The density is 2
Explanation : As we know the Density = mass / volume.
Here mass of substance is 20 gm and volume of water displaced by the substance us 10ml ( The density of water is 1 gm/cc).
Formula for density is =
Density = mass / volume
Density of substance = 20/ 10
Hence density of substance is 2
Regards