You might want to check the reagents for the elimination so you don't get substitution, but otherwise fine.
Hexanoic acid hint, if bromopentane is made into a nucleophile, then what electrophile will give the acid upon workup?
A second option is if bromopentane is the electrophile, what one carbon nucleophile will give the same oxidation state as a carboxylic acid (it will give a carboxylic acid after hydrolysis)?