Ilookedinside,Iwanttoseewhatthey?
I lood inside, I want to see what they were doing.(合并为一个简单句)
"I looked inside to see what they were doing" This answer is OK.