Developing Knowledge of Teaching Mathematics through Cooperation and Inquiry