Melissa is learning about the unique properties of waves she has learned that whenever the wave length of a wave increases the frequency of the wave decreases when does the speed of wave change

when the medium changes

see refraction and Snell's Law