Classify the following compounds as primary, secondary

Classify the following compounds as primary, secondary and tertiary halides.
(i) l-bromobut-2-ene
(ii) 4-bromopent-2-ene
(iii) 2-bromo-2-methylpropane