Answer explained
Direct speech of: Hari asked Sheela if she had taught her sister. is
Correct answer: (D) Hari said to Sheela, "Have you taught your sister?"
"Her sister" in the reported sentence is Sheela’s own sister (Hari is male, so "her" cannot refer to him); addressing Sheela directly, Hari would say "your sister", and the past perfect "had taught" converts to "Have you taught...?" in direct speech.