Such dehydrohalogenation follow E2​ mechanism. The driving force of such reaction is the stability of alkene produced. Since, tertiary alkyl halide can give more substituted alkene, it reacts fastest followed by secondary and primary i.e.,3∘>2∘>1∘.