Calculate the speed of sound in a gas in which two waves of wavelengths 50 cm and 50.5 cm produce 6 beats/s.