Light is refracted as it travels from a point A in medium 1 to a point $\mathrm{B}$ in medium 2 . If the index of refraction is 1.33 in medium 1 and 1.51 in medium 2 , how long does it take light to go from $A$ to $B$, assuming it travels $331 \mathrm{cm}$ in medium 1 and $151 \mathrm{cm}$ in medium $2 ?$