We have teacher who teaches only 2 days per week and it doesn't matter which
You can use option Teachers - select the teacher - Constraints. Program will then choose the most suitable days within the given number:
Note: If you specified days precisely, be careful not to specify other teachers similarly. It may happen that all external teachers want to teach on Tuesday and Thursday. Such timetable criteria with combinations of others might be impossible to meet.
Please see also:
كيف يمكن وضع عطلة المدرس
Our teacher must teach in consecutive days