The patient said that he felt sometimes the walls moved.
The doctor asked him if he drank coffee.
Click on the links below if you need some practice on Reported speech. As usual, the first two links are about vocabulary and grammar on Unit 2.
Reinforcement 2 and Key answer.
More Practice 2 and Key answer.
You can even watch a video with a grammar explanation.
Try this exercise and another one.
Some more exercises.