A sound wave goes from medium A to medium B. What can you say about its frequency in both the media?
Frequency in A = Frequency in B
The frequency of sound waves does not depend on the medium it is travelling in, as it is the property of the source which is emitting the sound. Thus frequency of sound in both the media is the same.