All four reactions begin the same way. HI is a strong acid and protonates the ether oxygen, giving an oxonium ion R–O+H–R′. The C–O bond that breaks depends on what I− can attack next.
(a) Both groups are alkyl groups and neither can give a stable carbocation (one is primary, the other secondary), so the cleavage is SN2. I− attacks the less hindered carbon, the CH2 of the ethyl group, from the back, and propan-2-ol is pushed out as the leaving group. As NCERT puts it, the lower alkyl group forms the alkyl iodide.
CH3CH2–O–CH(CH3)2+HI→CH3CH2I+(CH3)2CHOH
Products: iodoethane and propan-2-ol.

(b) This molecule contains two aryl–O–alkyl units. In each unit the O–aryl bond has partial double-bond character (the O lone pair is delocalised into the ring), and the aryl carbon is sp2, so I− cannot attack it. In each protonated unit, I− attacks the alkyl carbon by SN2: the CH3 and the CH2. With excess HI both units are cleaved, and the ring keeps both oxygens as –OH groups:
CH3O–C6H4–OCH2CH3+2HI→HO–C6H4–OH+CH3I+CH3CH2I
Products: benzene-1,4-diol (hydroquinone), iodomethane and iodoethane. The phenolic –OH groups do not react further with HI, because the sp2 ring carbon cannot undergo nucleophilic substitution.

(c) After protonation, I− has a choice between an sp3 carbon (the cyclohexyl C–O carbon) and an sp2 carbon (the ring C–O carbon). The O–C6H5 bond is stronger and shorter, with partial double-bond character. The ring carbon is also shielded by the π cloud and cannot be attacked from the back, and a phenyl cation is far too unstable to form. So only the cyclohexyl–O bond can break, even though that carbon is secondary:
C6H5–O–C6H11+HI→C6H5OH+C6H11I
Products: phenol and iodocyclohexane. Iodobenzene cannot form, because that would need I− to substitute at the aryl carbon.

(d) Diphenyl ether can be protonated, but both C–O bonds are to sp2 ring carbons with partial double-bond character.
- I− cannot attack either ring carbon by SN2 (no back-side approach through the ring, and the bond is too strong).
- Neither bond can ionise by SN1, because a phenyl cation is extremely unstable.
Anisole is cleaved because it has one alkyl carbon (CH3) that I− can attack. Diphenyl ether has no such carbon, so there is no reaction. The protonation simply reverses, and the ether is recovered.

Summary: I− always ends up on an alkyl carbon: the less hindered one by SN2, or a tertiary one by SN1. Aryl–O bonds never break with HI.