A teacher performing a demonstration finds that a piece of cork displaces 24 mL of water. The piece of cork has a mass of 6 g. What is the density of the cork?