Refractive index of a medium is inversely proportional to the speed of light in that medium.
(i) Speed of light is maximum in medium A for which n (= 1.33) is minimum.
(ii) Speed of light is minimum in medium D for which n (= 1.65) is maximum.
n is the refractive index.