Doubt from binomial theorem


C12
Answer is 3


Q7
Answer is 20

I have solved c12