The students are surprised to see a dog in the classroom.
The surprising _student_is to see a dog in the classroom
The teachers are thinking about how they should give the lessons.
The teachers are thinking about _how to_ give_the lessons.
我是从事英语的,乐意为你解答,