How to specify a teacher can teach only one 7th lesson
Simple solution
Define the question marked positions:
then define max. on quesion marked positions in teacher's details:
You can specify how many lessons can be placed on question marked positions. You can e.g. specify that the teacher have 6th lesson question marked and max is 2. Then the teacher will have only two 6th lessons per week.
Using the check box you can tell the algorithm to consider the question marked count per day. E.g. you can say lessons 5th, 6th and 7th are question marked and the teacher can have max two per each day. Then you can be sure teacher has at least one free lesson to have a lunch each day.
Complex solution
You can use this advanced card relationship: 
See also: How to specify that class can have max one 7th lesson or max one 0lesson?
                
								English							
								Slovenčina							
								Deutsch							
								España							
								Francais							
								Polish							
								Russian							
								Čeština							
								Greek							
								Lithuania							
								Romanian							
								Arabic							
								Português							
								Indonesian							
								Croatian							
								Serbia							
								Farsi							
								Mongolian							
								Bulgarian							
								Georgia							
								Azerbaijani							
								Thai							
								Turkish							
								Magyar