During an atmospheric temperature inversion, a planar sound wave traveling through a region of warm air meets a sharp boundary with a region of colder air, as shown in the diagram below.

Explain what happens to the sound waves as they cross the boundary from the warm air region to the cold air region.
Your explanation should refer to changes in the speed, wavelength, and direction of travel of the waves, and explain why these changes occur.