The Law of Reflection:  θ = r

 

 

 

 

 

 

 

 

 

      The Law of Refraction:  n1 sin θ = n2 sin θ'
 
or,
sin θ /c1 = sin θ' /c2 or, n sin θ = constant.
   
(In the slower medium, the light ray is closer to the direction of
  the normal.  If medium #2 is opaque, there is no refracted ray.)