YOU SAID:
My teacher ate a dog when doing woerks
INTO JAPANESE
私の先生は仕事をしているときに犬を食べました
BACK INTO ENGLISH
My teacher ate a dog while working
INTO JAPANESE
先生は仕事中に犬を食べました
BACK INTO ENGLISH
The teacher ate a dog at work
INTO JAPANESE
先生は仕事で犬を食べました
BACK INTO ENGLISH
The teacher ate a dog at work
That's deep, man.