You need at least 2 moles of diethylamine
alpha-chloro-2,6-dimethylacetanile 2C4H11N = Lidocaine + C4H12NCl
Extraction is an equilibrium process, hence you need repeat the extraction a few times to increase practical yield. Lidocaine itsel is soluble in organic solvents, where us its hydrochloride is soluble in water together with diethylammonium chloride.