Which describes the relationship between the frequency, wavelength, and speed of s wave as the wave travels through different media?