The Phases of Inquiry-Based Teaching