a source emits 1700Hz frequency travelling at a speed of 70m/s. A detector is placed 200m away. What is the frequency detected by the detector when the source is closest to it?

Also find the distance between them when the detector detects the frequency to be 1200Hz. Velocity of sound in air is 340m/s.