Задание

Pete ...his homework by 6 o'clock.

did

had done