By 5 o'clock yesterday my brother had written a report.
Ответ: By 5 o'clock yesterday my brother had written a report.