Sorry I may not have explained it properly.
There are actually three teachers who take the class in all, lets call them A,B and C.
A is the main teacher and takes most of the lessons but one lesson is taken by B and C together. Neither of these is the main teacher, so the question is how can I control which of these would show on students' timetables?