I'm currently doing some N4 sample papers to prepare myself for the exams and I came across this questions;
教室で先生が学生に話しています。学生は、工場で何を作っているときに、見学をしますか。
It's the second sentence which gets me. I pretty sure it means " What did the students do when visiting the factory" , but the placement of '何' before the use of the gerunds is stumping me a bit. If I were to say this phrase, I would probably structure it as follows
"教室で先生が学生に話しています。学生は、工場で見学を作っているときに、何をしますか。"
Would this sentence make sense or am I missing something here?
Thanks in advance kind people!
よろしくお願いします!