Answer explained
"Call the witness," said the judge. (Choose the correct indirect speech)
Correct answer: (B) The judge commanded them to call the witness
An imperative addressed to unnamed attendants is reported with "commanded them to" plus the original object: "to call the witness".