An Attempt to Model the Teacher’S Action in the Mathematics Class