A ray of light travelling in air is incident at grazing incidence on a slab with variable refractive index, $n (y) = [k y^{3/2}+ 1]^{1/2}$ where $k = 1 m^{-3/2}$ and follows path as shown in the figure. What is the angle of refraction when the ray comes out.

$(A) 60^°$
$(B) 53^°$
$(C) 30^°$
$(D)$ No deviation
.................………
My approach:-
Let the angle of emergence br $r$
At origin i. e $y=0$ $n_1=1$ and when $y=1$ $n_2=\sqrt2$
Using Snell's law
$$n_1 \sin90^° = n_2 sinr $$
On solving this I get $r=45^°$ but the sad part is that my answer doesn't match with any option.