what they had been told
Ils firent ce qu'on leur avait dit.
They did what they had been told.
Ils ont fait ce qu'on leur avait dit.
They did what they had been told.
Elles firent ce qu'on leur avait dit.
They did what they had been told.
Tom et Mary ont fait exactement ce qu'on leur avait dit.
Tom and Mary did exactly what they had been told.