( ( ( Its speed ) ( in ( any ( given medium ) ) ) ) ( ( depends ( on ( ( ( its wavelength ) and ) ( ( the properties ) ( of ( that medium ) ) ) ) ) ) . ) )
(ROOT (S (NP (NP (PRP$ Its) (NN speed)) (PP (IN in) (NP (DT any) (VBN given) (NN medium)))) (VP (VBZ depends) (PP (IN on) (NP (NP (PRP$ its) (NN wavelength)) (CC and) (NP (NP (DT the) (NNS properties)) (PP (IN of) (NP (DT that) (NN medium))))))) (. .)))
Its speed in any given medium depends on its wavelength and the properties of that medium.
(ROOT (S (NP (NP (DT The) (NN speed)) (PP (IN of) (NP (NN sound)))) (VP (VBZ depends) (PP (IN on) (NP (NN medium)))) (. .)))
The speed of sound depends on medium.