(a)
(i) In the diagram, the ray bends towards the normal when entering medium B from medium A. This means medium B is optically denser than medium A. Therefore, the speed of light in medium A is greater than in medium B.
(ii) The ray bends away from the normal when entering medium C from medium B. This means medium C is optically rarer than medium B. Therefore, optical density of medium B is greater than optical density of medium C.
(b) When optical density of A = optical density of C, and optical density of B > both A and C:
```
Medium A → ray travels straight
─────────────────────────────
Medium B → ray bends towards normal (entering denser medium)
─────────────────────────────
Medium C → ray bends back, emerges parallel to original ray
```
The emergent ray in medium C is parallel to the incident ray in medium A (similar to refraction through a glass slab).
---