If a ray passing from one medium to other medium then it will refract either away from normal or towards the normal
This all we can find out using snell's law
now if we wish to find the angle inside other medium then we will have
now if light ray bend towards the normal then
so second medium must be optical denser
otherwise if light ray is bending away from the normal then
so second medium is rarer than first medium
so for the given condition of the question correct answer will be
refraction with medium 1 denser than medium 2