Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/4
M:2/4
K:Amix
['A3/2 B/ c/B/ A', 'G d F/E/ D'  
X:1
L:1/4
M:2/4
K:Amix
|: A3/2 B/ | c/B/ A | e B | c B |1 A3/2 B/ | c/B/ A | G d | F/E/ D :|2 G d | F/E/ D | E A | A2 :: 
 c e | e c | f e | c/B/ A |1 G d | F/E/ D | G d | F/E/ D :|2 G d | F/E/ D | E A | A2 :|  