Critical angle for light going from medium (i) to (ii) is θ. The speed of light in medium (i) is v then speed in medium (ii) is
v(1−cosθ)
vsinθ
vcosθ
v(1−sinθ)
2μ1=1sinθ⇒μ1μ2=1sinθ⇒v2v1=1sinθ⇒v2v=1sinθ ⇒v2=vsinθ