there are 9 executives , including the ceo and cfo , that are asked to form a small team of 5 members . however , the ceo and cfo may not both be assigned to the team . given this constraint , how many ways are there to form the team ?
"the total number of ways to form a team of 5 is 9 c 5 = 126 . we need to subtract the number of teams that have both the ceo and the cfo . the number of teams with both the ceo and cfo is 7 c 3 = 35 . the number of ways to form an acceptable team is 126 - 35 = 91 . the answer is d ."
subtract(factorial(subtract(9, 5)), add(multiply(5, const_3), const_3))