When light passes from air into a denser medium at an angle like glass or water its speed slows down by the index of refraction of the medium. This video shows how to calculate the speed that light will travel at in a material with a known value of refractive index. See Figure 1 and 200000 kilometers per second in glass refractive index of 15.
To calculate the speed of light in a medium we require the refractive index or the index of refraction of that medium.
When light passes from air into a denser medium at an angle like glass or water its speed slows down by the index of refraction of the medium. Then answer the questions. Different media reduce that speed by different amounts depending on their optical density. Some examples of different mediums and their respective index.