Another way to say "the speed of sound depends on the medium" is "Speed travels at different speeds through different substances."