a. The given compound can be synthesized by using acetylene. The acetylene is treated with a strong base, such as NaH, to form an acetylide ion.
The acetylide ion then reacts with the alkyl halide to produce
in the following reactions:
Synthesis of compound a
b. The given compound is prepared by using acetylide ion as the starting material. The acetylide ion is then treated with to produce the following product:
The product of the above reaction is then treated with the base NaH and epoxide to form the desired product.

Synthesis of the compound b