snell's law that some books will show you, which is the refraction index for the slower medium, or for the second medium, the one that we're entering, times the index of the sin of the index of refraction is equal to the refraction index for the first medium times the sin of the angle of incidence.