What is Snell's law?
The refractive index of the medium is equal to the ratio of the sine of the angle of incidence and sine of the angle of refraction.