how to change active voice into passive voice..and how to change direct speech into indirect speech......
I cooked the meal. (active)
The meal was cooked (by me). (passive)
The passive voice is formed with a form of "to be" + past participle of the verb, as in 'was + cooked'.
For further information on passive voice and indirect speech see here
Reported Speech - Indirect Speech for ESL Learners
and the grammar glossary on this website.