The velocities of sound in media P and Q are 300 meters/second and 350 meters/second respectively. If the difference in wavelength of the two waves in those media is 0.5 meters, what distance will the sound travel in 50 vibrations in the medium Q?

The first answer I got was 325 m. I think I've misunderstood ...

consider a common frequency.

frequency*wavclengthP=300
frequency*wavelengthQ=350
divide the equatiosn.

wavelengthP/wavelenth Q=300/350

but wavelength P=wavelength Q-.5
so
350(q-.5)=300Q

50q=175
wavelength Q=3.5m
wavelength P=3.0m

in Q, then 50vibrations will be 350*50