This answer will form the correct product but the substitution percent yield with a secondary substrate is quite low. Always have the lowest order substrate possible in nucleophilic substitution reactions to minimize the elimination side reaction.