The table shows the speed of sound in three states of matter.

Material
Speed of Sound (meters/second)
air
330
water
1,500
glass
5,100

What happens to the speed of sound as it travels through a gas and into a solid?
a. The speed increases.
b. The speed decreases.
c. The speed increases and then decreases.
d. The speed decreases and then increases.

c. The speed increases and then decreases.