"I have an appointment next week."
She said that she had an appointment the following week.
"Our English teacher quizzed us yesterday."
They said that they English teacher had quizzed them the previous day.
Direct speech.
Indirect speech.
Reported speech.