Correct option is B
Given:
Babar starts from Point A and drives 14 km west.
He then takes a left turn and drives 7 km.
He then turns right and drives 9 km.
He then takes a right turn and drives 7 km.
He then takes a final right turn and drives 5 km to stop at Point P.
According to the given information, Path diagram will be:

As per the diagram, he drive 18 KM towards East in order to reach Point A again.
thus, the correct option is (B) 18 km towards East