Answer:
1. The children were doing their homework when their father came back from the office.
2. He was playing the guitar when someone opened the window and threw out a bucket of water.
Its the first one. Because its true, on average teens spend hours on their devices
B. The use of words such as "planetary" and "potential" helps establish a formal style.