How to define the atom numbers in unsaturated hydrocarbons correctly according to IUPAC?
Your first compound should be (3E)-5-ethynylhepta-1,3,6-triene. The 2 conjugated double bonds at the end determine the first carbon.

The second compound should be (4-methylpentyl)cyclobutane. The aliphatic group has less precedence than the cyclobutane group.