You need to have the velocities of the P and S wave in order to solve the first problem. Those velocities depend on the rock through which they travel.
9.5m questions
12.2m answers