Answer: C
The nitrile C≡N accepts two HX− to become CHX2NHX2. The ester takes two HX− as well: the first gives the aldehyde after loss of methoxide, the second gives the alkoxide of the primary alcohol. Total =2+2=4 hydride equivalents, product HX2N−CHX2CHX2CHX2−CHX2OH.