Question: what is the relationship between speed of sound and density?
Answer: The greater the density of a medium, the slower the speed of sound. This observation is analogous to the fact that the frequency of a simple harmonic motion is inversely proportional to m, the mass of the oscillating object. The speed of sound in air is low, because air is easily compressible.