Answer:
speed is affected by the medium in wich the wave travels.
Explanation:
The speed of a wave is affected when traveling in different medium, depending on the medium in which the wave travels it can go faster or slower, or not even be able to travel in that medium.
For light waves, the denser the medium through which the wave travels, the slower it will go through it, as there is more resistance to the light particles.
And in waves like sound, which instead of particles is a vibration or disturbance in the medium, they travel faster in denser mediums such as metal, because the disturbance is transmitted more efficiently thanks to how close together that the particles are in the metal, This is why sound does not travel in a vacuum; there are not even particles to transmit the vibration.