Find and correct the mistake
1. The children did their homework when their father came back from the office. 2. He played the guitar when someone opened the window and threw out a bucket of water. ​