Question: what is the relationship between angle i and angle r?
Answer: The angle of deviation through a triangular prism is defined as the angle between the incident ray and the emerging ray (angle δ). It can be shown that when the angle of incidence i is equal to the angle of refraction r' for the emerging ray, the angle of deviation is at a minimum.