The critical angle for light going from medium X into medium Y is θ. The speed of light in medium X is v, then speed of light in medium Y is
The critical angle for light entering from medium X into medium Y is q. The speed of light in medium X is u. The speed of light in medium Y is