Provide the complete equations of the following reactions showing the alkylated and acylated intermediates and the final products expected after their hydrolysis.
a. piperidine enamine of propan-2-one + allyl bromide
b. piperidine enamine of propan-2-one + acetyl chloride