Step 1: Read the reagents first.
Each reaction has a clue in its reagent. Alcoholic KOH with heat means elimination. Bromine with heat and no catalyst means a radical reaction at the side chain.
Step 2: Work out reaction (a).
The substrate $\mathrm{(CH_3)_3CBr}$ has a bromine on a tertiary carbon. The three methyl groups next to it carry nine beta hydrogens.
Ethanolic KOH acts as a base. It pulls one beta hydrogen while bromide leaves in one step (E2).
All methyl groups are equal, so there is no Saytzeff or Hofmann choice.
\[ \mathrm{(CH_3)_3C{-}Br \xrightarrow[\text{Heat}]{KOH,\ \text{Ethanol}} CH_2{=}C(CH_3)_2} \]
The alkene formed is 2-methylpropene.
Step 3: Decide what Br2 does in reaction (b).
The ring carries a nitro group, which pulls electron density out of the ring. Electrophilic substitution is very slow, and no $\mathrm{FeBr_3}$ is present anyway.
So bromine attacks through a chain reaction on the alkyl side chain.
Step 4: Pick the carbon that is brominated.
The side chain is $\mathrm{CH(CH_3)_2}$. The carbon joined to the ring is the benzylic carbon.
A radical here is tertiary and is also delocalised into the ring. No other hydrogen gives a radical this stable.
So this hydrogen is replaced by bromine, and $\mathrm{HBr}$ is released.
\[ \mathrm{O_2N{-}C_6H_4{-}CH(CH_3)_2 \xrightarrow[\text{Heat}]{Br_2} O_2N{-}C_6H_4{-}C(CH_3)_2Br} \]
The ring stays unchanged, with nitro and the bromo-isopropyl group para to each other.
Final Answer:
(a) The major product is 2-methylpropene.
(b) The major product is 2-bromo-2-(4-nitrophenyl)propane, which is 1-(2-bromopropan-2-yl)-4-nitrobenzene.