I was given the following question on a sample exam for my organic chemistry course:
I am quite certain that it would happen in a SN2-type reaction considering that
- the nucleophile is $\ce{CN-};$
- the solvent is DMF.
However, I'm not sure what electrophilic center would be attacked first. I'd appreciate any explanation about why the nucleophile would choose one carbon over the other (if that were the case). The question also states that there are 2 product formed, so could it be possible that an elimination reaction is happening as well?