The IUPAC name of the structure
CH3−CH=C|CH3−C≡ C−CH3
3-Methylhex-2-en-4-yne
The given compound has both a double bond as well as a triple bond.
CH3−CH=C|CH3−C≡ C−CH3
When we try to number from either side we see that both the bonds could be accommodated between
C2&C3
Case I
1CH3−2CH=3C|CH3−4C≡ 5C−6CH3
Double bond at C2−C3
Case II
6CH3−5CH=4C|CH3−3C≡ 2C−1CH3
Trible bond at C2−C3
So both these bonds, via different numbering schemes, could be accommodated at C2−C3.
When we have a choice, the double bond always gets a higher priority (or lower numbering)
1CH3−2CH=3C|CH3−4C≡ 5C−6CH3
So, looking at the longest chain our word root would be hex
We have double bond at 2 and triple bond at 4, so 2-en and 4-yn
Final name would be 3-Methylhex-2-en-4-yne