Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:D
['d>fa>f g>fe>c d>cB>A']  
X:1
L:1/8
M:4/4
K:D
"A7" A>G |"D" D>F d>fa>f |"A7" g>fe>c d>cB>A |"G" G2 B>G"D" F2 A>F |"A7" E>DE>F G>BA>G | 
"D" F>DF>A d>fa>f |"A7" g>fe>c d>cB>A |"D" d>fa>f b>ge>c |"D" d2 d2 d2 :| (3(ABc) | 
 d2 f>d"A" c2 e>c |"G" B>AB>c"D" d>cB>A |"G" G2 B>G"D" F2 A>F |"A7" E>DE>F G>BA>G | 
"D" F>DF>A d>fa>f |"A7" g>fe>c d>cB>A |"D" d>fa>f b>ge>c |"D" d2 d2 d2 :|  