Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/4
M:3/4
K:D
['A f2 e d3/2 d/ d d']  
X:1
L:1/4
M:3/4
K:D
 A |"D" A2 B/c/ | d2 c |"A7" (G3 | G) z A | A2 B | c2 B |"D" (F3 | F) z f | f2 f | g2 f |"G" e2 B | 
 B3 |"A7" A ^G A | f2 e |"D" d3/2 d/ d | d z (3A/B/c/ |:"D" d c B | A G F |"A7" E3/2 A/ A | c2 A |1 
 G3/2 A/ A | c3/2 A/ G |"D" F z A | d3/2 A/ B/c/ :|2 ^G2 A | f2 e |"D" d3/2 d/ d | d z z |]  