(I) An earthquake $P$ wave traveling 8.0 $\mathrm{km} / \mathrm{s}$ strikes a boundary within the Earth between two kinds of material. If it approaches the boundary at an incident angle of $52^{\circ}$ and the angle of refraction is $31^{\circ},$ what is the speed in the second medium?