Open the brackets and write the sentence.
Amy ... (to do) her homework when somebody ... (to knock) on the door.