(c) Suppose $d =$ distance of epicenter of Earth quake from point of observation
$v_{S} =$ Speed of $S$-wave and $v_{P} =$ Speed of $P$-wave then
$d = v_{P}t_{P} = v_{S}t_{S}$ or $8t_{P} = 4.5\ t_{S}$
$\Rightarrow t_{P} = \frac{4.5}{8}t_{S},$ given that $t_{S} - t_{P} = 240$
$\Rightarrow t_{S} - \frac{4.5}{8}t_{S} = 240 \Rightarrow t_{S} = \frac{240 \times 8}{3.5} = 548.5\ s$
$\therefore d = v_{S}t_{S} = 4.5 \times 548.5 = 2468.6 \approx 2500km$