Angle made by the light ray with the surface of mirror is given as
degree
now as we know as per law of reflection that
angle of incidence = angle of reflection
So here we can say that


now the total angle that reflected ray will rotate with respect to incident ray is known as angle of deviation


so here reflected light will deviate by total angle of 40 degree fron its incident ray.