Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:A
['fgaf ecBA', 'A4 af ecAc e3 f efde cdec'  
X:1
L:1/8
M:4/4
K:A
 cB | A3 B ABcd | fgaf ecBA | d3 f ecBA | G2 B4 Bc | d2 e fgaf | ecBA G3 B | AcBd ceBd | c2 A4 :: 
 af | ecAc e3 f | efde cdec | dcde fgab | g2 e4 dc | dcde fgac | dcBA GBeB | ceac Bcde | c2 A4 :|  