Figure $\mathrm{P} 18.16$ shows a ray of light entering an equilateral prism, with all sides and angles equal to each other. The ray traverses the prism parallel to the bottom and emerges at the same angle at which it entered. If $\theta=40^{\circ}$, , what is the index of refraction of
the prism?