Estimating distance and locating epicentre with the help of a little geometric trick.
Generally P-wave (pressure) is horizontal shaking, S-wave (shear) vertical. S is usually stronger and takes about 6x the time to arrive as the P. Distance in km is approx. 6x time between these in seconds.