I hope this help.
Key here is to recognize Amine and Amide.
Primary Amine act as Nu and attact C=O and yield C=NR (imine)
Secondary Amine yield C=C-NR2 (Enamines)
Tertiary Amide won't react cause it doens't have proton.
Amide doesn't react the way amine react with C=O.
Just a thought, If Amide had to react with C=O, Amide wouldn't have exists at first place cause Amide has C=O group and it would have been intramolecular reaction and we won't see Amide.
Anyways, A is Amide and B is Amine. So the answer is B. C,D,E are there to distract.
If you are still confused I would suggest to look up mechanism.