A light beam travelling along the x axis with planar wavefront is incident on a medium of thickness t. In the region, where light is falling the refractive index can be taken to be varying such that dndy>0. The light beam on the other side of the medium will emerge.