1. While the kids... in the garden, their mother was hurriedly cooking dinner. - were playing.
2. Sam says he didn't enjoy the program because the TV set... properly. - wasn't working.
3. lt wasn't raining when I looked out of the window; the sun was shining. But it... . earlier. That's why the ground was wet. - had been raining.