Can someone please explain why the answer is (D) in this question?

enter image source here