We know the distance (3000km) Were trying to find the time it will take P waves to travel this distance.