ClCO(CH2)8COCl: decanedioyl dichloride. The carbon of each –COCl group is part of the parent chain, so the chain has 8 + 2 = 10 carbons (decane). Two acyl chloride groups give "-dioyl dichloride".
H2N(CH2)6NH2: hexane-1,6-diamine. The six-carbon chain carries –NH₂ groups on C-1 and C-6. The terminal "e" of the alkane is dropped only when the suffix begins with a vowel (as in hexan-1-amine). Here the suffix "diamine" begins with the consonant "d", so the full name "hexane" is kept, as in ethane-1,2-diol.