HE HAD WRITEN A LETTER BEFORE HE WENT TO BED.⇒ HAVING ………

2. He had writen a letter before he went to bed.

⇒ Having ………