Answer: B
b) light ray travels from denser to rarer medium
Step-by-step explanation:
If the light rays are travelling from one medium to another they change their direction at the boundary between two mediums.
based on the changes taken place in rectangular glass slab reflection
light ray travels from denser to rarer medium