"The prism will deflect the red and orange, and form a reddish colored image at n. The violet, indigo,…