Two mirrors M1 and M2 are inclined at right angles as shown above calculate the…