The relation between the refraction of the light between the air and the medium is given by
Snell’s law: