We have 2.054 grams of nickel (Ni) and 2.482 grams of chlorine (Cl2). The total mass of the compound is 4.536 g (This results by the sum of the masses: 2.054 g + 2.482 g).
Let's find the composition of nickel and chlorine, using the following formula:
[tex]\%\text{ composition of X=}\frac{mass\text{ of X}}{\text{mass of compound}}\cdot100\%.[/tex]X would be Ni and Cl2:
[tex]\begin{gathered} \%\text{ composition of Ni=}\frac{2.054\text{ g }}{4.536\text{ g}}\cdot100\%\approx45.28\%. \\ \%compositionofCl_2\text{=}\frac{2.482\text{g }}{4.536\text{ g}}\cdot100\%\approx54.72\%. \end{gathered}[/tex]The answer would be 45.28 % of Ni and 54.72% of Cl.