Hi !
a. What were you doing when I phoned?
b. When Jenny arrived she saw her friend was crying.
c. We were walking in the woods when it started to rain.
d. She was texting a messing when a policeman stopped her.
e. They saw an accident while they were driving on the motorway.
f. When Linda came back home at two o'clock in the morning her parents were waiting for her in the living room.