These two orbitals are SP hybridized, shown here as well. Now, these two orbitals are pure two p orbitals, and we have one electron in each. So altogether, each carbon donates four balance electrons. So we have one balanced electron each here and four balance electrons here. Each carbon also has two electrons in the one S orbital. But that's not shown because the one S orbital does not react.