Answer: B
Hexanedioyl dichloride (adipoyl chloride) reacts with hexane-1,6-diamine to give nylon 6,6 (the nylon rope trick). Each N-H of the amine and a Cl of the acyl chloride combine, so one molecule of HCl is eliminated per amide bond, not water as with the free acid. Base in the aqueous layer neutralises the HCl.