Rule reminder
Gerundio passato = avendo/essendo + participio passato. Used when the gerund action is PRIOR to the main verb. Avere verbs: avendo + pp. Essere verbs: essendo + pp (agree). Negative: non avendo/non essendo + pp.
'___ la lettera, la mise in busta.' (scrivere — prior action)