A ray of light is incident on mirror m1 and after reflection is incident on…