Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/16
Q:1/8=50
M:2/4
K:A
['A2>A2 (3(ABc)', 'ABcd efed'  
X:1
L:1/16
Q:1/8=50
M:2/4
K:A
"^As Written" e2 | A2>A2 (3(ABc) BA | BABc Bd | A2>A2 (3(ABc) BA | E2A2A2 :: e2 | ABcd efed | 
 afec afec | ABcd efed | BABc Bd | ABcd efec | afec afec | F4 E2AB | c2A2A2 :|  