We rank the four media by refractive index, since a higher refractive index always means a lower speed of light.
Vacuum gives light its maximum possible speed, with refractive index exactly 1, so it cannot be the medium of minimum speed.
Air has refractive index very close to 1 (about 1.0003), so light speed in air is nearly the same as in vacuum, still much faster than in water or glass.
Water has a refractive index of about 1.33, light does slow down here, but less than it does in glass.
Glass has a refractive index of about 1.5, the highest of the four, and using $v = c/n$, this highest n gives the lowest speed among the options.
So light travels slowest in glass, making option D correct.