This paper describes a computer-based peer tutoring system where students become active learners who are guided to learn by teaching a computer. As an intelligent peer tutoring system, Linear Kid has three agents: the student, the computer learner and the computer coach. After the students watch how the computer expert solves a set of linear equations, Linear Kid helps the human student act as a teacher in order to learn more about the subject matter. At this time, the computer plays a role of a student and a coach. To provide user feedback, the system matches the student's responses with the correct rules of an expert by adopting a simplified version of an overlay model. An ongoing version of Linear Kid was tested in two high schools using a formative evaluation.