Reaction (a) & (c) goes via SN2 mechanism. Reaction (b) & (d) proceeds via SN l mechanism. SN1 involves formation of a planar carbocation & hence formation of a pair of enantiomer results, provided the carbon bearing the leaving group becomes chiral after the nucleophillic attack: