This is a paraphrasing task. In this task, you're given a sentence and your task is to generate another sentence which express same meaning as the input using different words.

i heard a key in the door , hastily grabbed his bathrobe , managed to cover up before she got the door open .
i heard the key in the door , i quickly grabbed his robe and i did just enough dressing before she could get the door open .