The correct option is A Medium 1
When light travels from a rarer to a denser medium, it bends towards the normal and when light travels from a denser to a rarer medium, it bends away from the normal. In the figure, we can see that the light ray bends away from the normal as it moves from medium 1 to medium 2. Therefore, we can infer that medium 1 is denser.