The correct answer is: A. 450 kmph and 500 kmph
Air speed is the speed of the aircraft relative to the air. Ground speed is the speed of the aircraft relative to the ground.
When there is a head wind, the aircraft has to travel further in the same amount of time, so its ground speed is reduced. The air speed remains the same.
In this case, the air speed is 500 kmph and the head wind is 50 kmph. The ground speed is therefore 500 – 50 = 450 kmph.