Our teachers can teach max 5 days in two weeks timetable

Let's take a case when music teacher work as part-time teacher and teaches 15 music lessons in two weeks.
Then, if you wish to distribute these lessons into 5 days in two weeks (no matter in which) you can use following advanced card relationship.

Note: Do not forget, that this relation must correspond with teachers' lessons settings. See more: How can I define weeks?