"I am going to buy a new car," he said.
"I am going to buy a new car," he said.
Explanation
He said that he was going to buy a new car.
This is the correct way to report the original sentence "I am going to buy a new car" in indirect speech.
When converting direct speech to indirect speech:
- The pronoun "I" becomes "he" (subject pronoun)
- The verb tense changes to the past simple ("am going to" becomes "was going to")