This question was asked in Ex 1.4, 3
What is refractive index 
Mohammad Amaan's image