Compose a piece of music using the provided motif and follow the designated alphabet character structure.
X:1
L:1/4
Q:1/4=220
M:2/2
K:D
['A/B/A/G/ F A d e f2 g', 'a2 e3/2 ^d/ e f g e']  
X:1
L:1/4
Q:1/4=220
M:2/2
K:D
"^polka" A/B/A/G/ F A | d e f2 | g f/e/ f e | d f A2 | A/B/A/G/ F A | d e f2 | g f/e/ f e |1 
 d2 d2 :|2 d2 c d |: e3/2 f/ e d | c e a2 | e3/2 ^d/ e f | g e c A | e3/2 f/ e d | c e a2 | 
 g f/e/ f e |1 d2 c d :|2 d2 d2 |]  