A ray of light is incident at an angle of 30o on one top surface…