Все ваши предложения в прошедшем времени,поэтому используем Past Perfect Passive.
They said the medicine had been prescribed by the doctor.
He understood that the house had been robbed by the thieves.
She said he had been seen the night before with a pretty girl in the club.
He said that his Walkman had been given to him by his mother as Christmas...