The values shown are horizontal distance(not angle).
The ratio of those two distance is equal the ratio of refraction index for those two regions!