where 0 < x < a. A ray of light is incident at the origin just along y axis (shown in figure).