Refractive index (μ) in terms of speed of light (c) in vacuum and wave speed (v) in medium is given by, μ=vc.
So, for medium A, μA=vAc=1.5×1083×108=2 and for medium B, μB=vBc=2×1083×108=1.5
For critical angle, angle of refraction r=90∘.
Using Snell's law,
μ1sini=μ2sinr
⇒2sini=1.5sin90∘⇒sini=21.5=0.750⇒i=sin−1(0.750)