1) While the doctor (operate) the patient, the nurse (prepare) operating-room.
While the doctor was operating the patient, the nurse prepared operating-room.