A light ray in air strikes the rightangle prism shown in $\textbf{Fig. P33.40}$. The prism angle at $B$ is 30.0$^\circ$. This ray consists of two different wavelengths. When it emerges at face $AB$, it has been split into two different rays that diverge from each other by 8.50$^\circ$. Find the index of refraction of the prism for each of the two wavelengths.