সঠিক উত্তরঃA.
The teacher remarked that they had all done it very badly.
Explanation: Direct speech কে Indirect speech করতে হলে Reporting speech এর Subject হিসাবে they বসবে you এর পরিবর্তে এবং Present perfect tense পরিবর্তন হয়ে Past perfect tense হবে।