How do I go from C-triple bond-C and end up with [(Z)-6 methylhept-2-enyl] benzene. I think the first step is adding NaNH3, but after that I'm lost.

To go from C≡C to [(Z)-6-methylhept-2-enyl]benzene, here's a step-by-step explanation:

Step 1: Conversion of C≡C to an alkene
Start by converting the triple bond (C≡C) into a double bond (C=C). This conversion can be achieved using a strong base like NaNH3, as you mentioned. The NaNH3 will deprotonate the terminal hydrogen on the alkyne, forming an acetylide anion (C≡C^-), which can then act as a nucleophile attacking an electrophile.

Step 2: Addition of an alkyl halide
After generating the acetylide anion, you need to treat it with an appropriate alkyl halide to introduce the substituent. In this case, for [(Z)-6-methylhept-2-enyl]benzene, you would need to use a 6-methylhept-2-enyl halide (e.g., 6-methylhept-2-enyl bromide or chloride). The nucleophilic acetylide anion will attack the alkyl halide, resulting in the formation of an alkene with the substituent attached.

Step 3: Formation of the final product
To complete the synthesis, you can perform an aromatic substitution reaction by introducing the alkene into a benzene ring. This can be achieved using a Friedel-Crafts alkylation reaction. You would need to treat the alkene with a strong Lewis acid catalyst, such as anhydrous AlCl3, and benzene. The alkene will undergo electrophilic addition to the benzene ring, resulting in the formation of [(Z)-6-methylhept-2-enyl]benzene.

It's important to note that organic synthesis can be complex, and different reaction conditions and reagents may be required depending on the specific starting materials and desired product. Additionally, caution should be exercised when working with hazardous chemicals, and it's advisable to consult the chemical literature or seek guidance from a qualified professional when performing synthetic reactions.