The x-z plane separates two media A and B with refractive indices n1 and n2 respectively. A ray of light travels from A to B. Its directions in the two media are given by the unit vectors, ¯rA=a^i+b^j & ¯rB=α^i+β^j respectively where ^i and ^j are unit vectors in the x and y directions. Then