Two isosceles right-angled glass prisms are placed near each other as shown in the following figure:
The path of the light ray entering the first isosceles right-angled glass prism till it emerges from the second identical prism is such that
The light emerges parallel to the incident ray from the second prism
The complete ray diagram is shown below.