Write the condensed structural formula for the major product…