Step 1: Understanding the Question.
We must convert the direct speech sentence "I did it yesterday," spoken by Suresh, into correct indirect (reported) speech.
Step 2: Key Rule or Approach.
Three changes happen together whenever the reporting verb is in the past tense:
1. Pronoun change: the speaker's "I" becomes "he" or "she" from the reporter's point of view.
2. Tense backshift: simple past ("did") moves one step further back, to past perfect ("had done").
3. Time reference shift: a word tied to the day of speaking, like "yesterday", becomes "the day before" or "the previous day".
Step 3: Detailed Explanation.
Start from the direct sentence and build the indirect version rule by rule. The reporting verb is "said", so it stays in the past tense: "Suresh said that...".
The subject of the quoted sentence is "I", referring to Suresh, so it becomes "he": "...that he...".
The verb "did" is simple past, so it backshifts to past perfect "had done": "...he had done it...".
The time word "yesterday" no longer makes sense once we are reporting the sentence later, so it changes to "the day before": "...had done it the day before."
Putting the pieces together gives: "Suresh said that he had done it the day before."
Checking this constructed sentence against the four options, it matches option (D) exactly, while options (A), (B), and (C) each fail to apply one or more of the three rules above.
Step 4: Final Answer.
The correct indirect speech version is "Suresh said that he had done it the day before," which is option (D).