In the compound 3, 3-dimethylhex-1-en-4-yne:
- The two carbon atoms of the triple bond (yne) are sp hybridized.
- The two carbon atoms of the double bond (ene) are sp² hybridized.
- The remaining four carbon atoms are sp³ hybridized.
Thus, the number of sp, sp², and sp³ carbon atoms are 2, 2, and 4, respectively.