1) The whole class has been punished. (active)
2) The teacher wished us that we might get through our exam. (direct)
3) He said to me," I will see you tomorrow if you meet me." (indirect)