Substance A has a mass of 12 g and a volume of 4 cm cubed. Substance B has a mass of 16 g and a volume of 4 cm cubed. Substance C has a mass of 20 g and a volume of 4 cm cubed. Substance D has a mass of 24 g and a volume of 4 cm cubed. What is the density of each substance?