Each carbon atom has 4 valence electrons, and each hydrogen atom has 2 valence electrons. In the Lewis structure for acetylene, the three lines between the carbon atoms represent three bonds between the carbon atoms. Since each line represents 2 shared electrons, the carbon atoms share 8 electrons. The two hydrogen atoms share two electrons with each carbon atom.