Synthesized (3) and a compound similar to (4) but with protection on -OH groups.
For (3): Dissolving CBr4 in dichloromethane instead of pyridine gave a better yield as it involved using only one solvent throughout the reaction.
For (4): The formation of alkyne group was achieved by using a much milder reagent (EtMgBr in THF) instead of n-BuLi- which needs harsh conditions such as -78 degree celsius. Also (4) is volatile in nature hence the -OH groups were protected with TBDMS and then conversion of dibromo olefin to alkyne was carried out.