A man teaches a classroom of children.
A teacher is indoors with his students.
Since a man teaches a classroom of children, he is a teacher; a classroom is a room, which is by definition indoors; children being taught are students; whomever a man teaches can be called 'his' students; teaching them indicates he is with them.
exists e1 x1 x2 x3.(Theme(e1,x2) & Actor(e1,x1) & v_teach(e1) & of(x2,x3) & n_child(x3) & n_classroom(x2) & n_man(x1))
exists p1 x1 x3.(exists x2.((x1 = x2) & with(x2,x3) & n_indoor(x2)) & n_student(x3) & of(x3,x1) & n_male(x1) & n_teacher(x1))