1. Doctor Q was working/ worked in his lab one day when Pi
2. 2was flying / flew in.
Ответ: was working, flew