Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:Amix
['A2 AA cAcd eefd e2', 'a2 a2'  
X:1
L:1/8
M:4/4
K:Amix
|: EG | A2 AA cAcd | eefd e2 E2 | AA A2 B3 A | G E2 G E2 GE | A2 AA cAcd | eefd e2 ef | 
 a2 ae gfed | c A2 c A2 :: eg | a2 a2 a2 ef | gefd e2 ge | a2 a2 a b2 a | g e2 g e2 ge | 
 a2 a2 a2 ef | gefd e2 A2 | ee e2 efed | c A2 c A2 :|  