First, let's calculate how many atoms are contained in 8.00 g of gold. To do that, we should multiply the number of atoms in one gram by the mass of the gold:
[tex]N_a = (8.00 g) (3.06 \cdot 10^{21} atoms/g)=2.45 \cdot 10^{22} atoms[/tex]
Then we know that each atom contains 79 electrons, so in order to get the total number of electrons, we should multiply the total number of atoms by the number of electrons per atom:
[tex]N_e = (2.45 \cdot 10^{22} atom)(79 e/atom)=1.94 \cdot 10^{24} e[/tex]
and this is the total number of electrons in 8.00 g of gold.