This is an elimination reaction of Halogenoalkane. 2-bromo-2-methylpentane when is heated with NaOH or NaOC2O5( sodium ethoxide) in ethanol will form alkene rather than alcohol.
2-methylpent-1-ene is minor product since double bond form with secondary Carbon rather than primary Carbon.