(a) in vacuum but not in air
Different wavelengths travel at different speeds through different media. In vacuum, the speeds of both the red light and yellow light are same but are different in air due to some optical density of air. Both wavelengths act in a different way in the air.