A wave traveling in air has an angle of incidence of 20o and an angle of

refraction of 10o in a second substance. What is the index of refraction of the
second substance?

Here is Snell's Law. Plug you numbers into the equation.

https://en.wikipedia.org/wiki/Snell%27s_law