Answer explained
Indirect speech of: He said, "I went home yesterday." is
Correct answer: (B) He said that he had gone home the previous day
Simple past ("went") back-shifts to past perfect ("had gone"), and the time word "yesterday" shifts to "the previous day".