1) The condensation of 3,4-diphenylpyrazole (I) with acrylonitrile (II) by means of benzyl-trimethyl-ammonium hydroxide (Triton B) in dioxane gives 1-(2-cyanoethyl)-3,4-diphenylpyrazole (III), which is then reductocondensed with dimethylamine by means of H2 over Pd/C in ethanol.
2) The condensation of (I) with methyl acrylate (IV) by means of Triton B as before gives methyl 3-(3,4-diphenylpyrazol-1-yl)propionate (V), which is saponified with KOH in refluxing methanol yielding the corresponding free acid (VI). The reaction of (VI) with SOCl2 in refluxing CHCl3 affords the acyl chloride (VII), which is treated with dimethylamine in THF to give N,N-dimethyl-3-(3,4-diphenylpyrazol-1-yl)propionamide (VIII). Finally, this compound is reduced with LiAlH4 in refluxing THF.