If the original direct speech stated who had said it... e.g.
He said, “When I was a child, I bought a car.”
The indirect speech would be...
He said that when he was a child, he bought a car.
Including the word ‘that’ I think is the easiest way to change it. Also, be careful not to change the language of the original sentence unless you have to. You should just change the pronouns (I to he/she) (We to they).
Another example... “I love England!” Emily shouted. Emily shouted that she loves England.
Hope this helps.
Kirsty