first you want to convert the given mass of Cl into moles by dividing by the molar mass
12.1 g / (35.45 g/mol) = 0.3413 moles of Cl
then you can divide by 2 because there are 2 chlorines atoms for every 1 molecule of the compound
moles of C2H4Cl2 = moles of Cl / 2 = 0.3413 / 2 = 0.1707 moles of C2H4Cl2
the next step then is multiplying by 4 to convert over to moles of hydrogen atoms
0.1707 moles C2H4Cl2 x 4 = 0.6828 moles of H
finally then you can multiply by Avogadro's number to find the total number of atoms
0.6828 x (6.022 x 10^23) = 4.11 x 10^23 atoms