Rewrite these sentences, using perfect gerunds or perfect participles (having+P2).
1. After I finished all my homework, I watched my favourite film on TV.
-) Having finished all my homework, I watched my favourite film on TV
2. Because I had spent the whole day cleaning up my room, I needed to take a shower and have a rest.
-) Having spent the whole day cleaning up my room, I needed to take a shower and have a rest
3. They have acted irresponsibly towards the environment. They were criticised for that.
-) Having acted irresponsibly towards the environment, they were criticised for that
4. He didn’t keep his promise. He apologised for that.
-) Not having kept his promise, he apologised for that