Change the following from direct to reported speech:
The teacher said to him, "Why did you come late?"
The two ways of relating what a person has said are 1)direct and 2)indirect (reported speech).In direct speech, the original speaker's exact words are repeated. Direct speech is found in plays and quotations. In indirect/reported speech, the exact meaning is expressed but not necessarily using the original speaker's exact words. Pronouns and possessive adjectives usually change from first or second person to the third person except when the speaker is reporting his own words. Sometimes a noun can be inserted to avoid doubt.
When we turn direct questions into direct speech, the following changes are necessary: Tenses, pronouns, and possessive adjectives, and adverbs of time and place change as in the statements. The interrogative form of the verb changes to the affirmative form. The question mark (?) is therefore omitted in indirect questions.
When the direct speech begins with a question word ( when, where, who, why etc) the question word is repeated in the indirect question.
If there is no question word (why, how etc.) if or whether must be used.
Option D is correct as the question in the direct speech is given in the simple past tense, so, the past perfect tense is used, you is changed to him, and the appropriate introductory verb ask is used.
The other options are wrong as you, was late, and come late cannot be used.
The correct answer is D)My neighbour asked me how I was.