Answer
The names of the compounds are:
(a) cis-4,5-Dimethylhex-2-ene
(b) trans-6-Methylhept-3-ene
Work Step by Step
(a) In the structure of this compound we notice that the substituents of the same type, attached to the double bond are located on the same side of the double bond and thus this compound is named as a cis-isomer.
(b) In the structure of this compound, the substituents are attached to opposite sides of the double bond and thus the compound is named as a trans-isomer.
Further, the naming is done according to the IUPAC system, where first the longest chain is numbered and the substituents are identified, numbered and listed in alphabetical order.