I think there is 3 moles of carbon atoms in 3 moles of methane. This is so as the chemical formula for methane is CH4, which means that for every 1 mole of methane molecule you have 1 mole of carbon atom as in each molecule of methane there's one carbon atom.