How does a seismologist use the graph of time versus distance for seismic waves to find the location of an earthquake’s epicenter?

This is for Earth and Environmental Science, it does not have that subject so I am sorry if this is the wrong category.