Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:A
['AB cBcd cBAG FCFG', 'ED CA,CE FDFA (3GAB (3EFG'  
X:1
L:1/8
M:4/4
K:A
 AB | cBcd cBAG | FCFG AGAB | cB (3ABc fecA | BcAF E2 AB | cBcd cBAG | FCFG Aagf | ecdB cABG | 
 A2 GB A2 :| ED | CA,CE FDFA | (3GAB (3EFG AGAB | cBAc fedc | BAGF E2 ED | CA,CE FDFA | 
 (3GAB (3EFG Aagf | ecdB cABG | A2 GB A2 :|  