Fact 1: the type of material through which sound passes changes the speed at which sound travels. 
Fact 2: Sound waves are an example of longitudinal waves.
the type of material through which a longitudinal wave passes changes the speed at which a longitudinal wave travels.