Total number of available courses =9 Out of these 5 courses have to be chosen. But it is given that 2 courses are compulsory for every student i.e., you have to choose only 3 courses instead of 5, out of 7 instead of 9 It can be done in ‌7C3 ways =