Answer explained
Choose the direct speech of: He said he was going to call Ram.
Correct answer: (A) He said, “I am going to call Ram.”
The conventional reverse transformation restores am going from was going and uses I for the original speaker. Direct speech does not need that before the quotation.