Figure 1.
Snell's Law of Refraction