Two plane mirrors are inclined to each other at an angle theta. A ray of light is reflected first at one mirror and then at the other. Find the total deviation of the ray.