Ответ:

  1. While I was doing my homework, my sister was listening to music.
  2. They were driving home when they saw the accident.
  3. We weren’t watching TV when you called.
  4. What were you doing when the lights went out?
  5. The children were playing in the garden when their mother came home.

Past continuous describes an action in progress; past simple describes the event occurring during it.