When the girl _D was singing__ a teacher came into the classroom
当女孩在唱歌时,老师走进了教室.
主句动作发生时,从句动作sing在进行,所以用过去进行时