When ray passes undeflected ⇒ Same refractive index.
Ray bends towards normal ⇒ Rarer to denser
Ray bends away from normal ⇒ Denser to rarer
Hence,
figure: 1 ⇒μ3=μ2>μ1
figure: 2 ⇒μ3<μ2<μ1
figure: 3 ⇒μ3>μ2=μ1
Also, Velocity ∝ wavelength ∝1Refractive index