Individually, each of these waves travels at the speed of light in vacuum, not at the (slower) speed of light in glass. Yet when the waves are added up, they surprisingly create only a wave that travels at the slower speed.