On a hot summer day, the temperature reaches 34.0°C. A person standing on a street corner is passed by an ambulance. If the person hears the ambulance siren at a frequency of 784 Hz as it approaches and 674 Hz after it goes by, what is the speed of the ambulance?