An earthquake generates both transverse (S) and longitudinal (P) sound waves in the earth. The speed of S waves is about 4.5 km/s and that of P waves about 8.0 km/s. A seismograph records P and S waves from an earthquake. The first P wave arrives 4.0min. before the first S wave. The epicenter of the earthquake is located at a distance of about