1. As it was a formal dinner party, I wore formal dress, as Mother told me to.
2. His girlfriend advised him to get out of/get rid of his bad habit of smoking before it took hold.
3. Anticipating that the demand for electricity will be high during the next few months, they have decided to increase its production.
4. It is said that Bill has been fired for continually violating the company’s safety rules. /Bill is said to have been fired for continually violating the company’s safety rules.
5. It is reported that the government has taken proper measures to avoid the possibility of a severe water shortage. /The local government is reported to have taken proper measures to avoid the possibility of a severe water shortage.