Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:Dmin
['(d>D) (D/E/F/D/) E<A A,3/2 (3(g/4f/4e/4 f>d)', '(d>e) (f>g) af g<a (f<d)', 'd3 A (d>e) (f>g) (a/g/f/g/ a/)f/g/a/ (f<d)'  
X:1
L:1/8
M:4/4
K:Dmin
 A | (d>D) (D/E/F/D/) E<A A,3/2 (3(g/4f/4e/4 | f>d) (c>A) (G/A/)c/(G/ A<c) | 
 (d>D) (D/E/F/D/) E<A A,3/2 (3(g/4f/4e/4 | f>d) (e^c) d3 :| A | (d>e) (f>g) af g<a | 
 (f<d) (c>A) (G/A/c/)(G/ A<c) | (d>e) (f>g) af g<a | (f<d) (c>A) d3 |] A | 
 (d>e) (f>g) (a/g/f/g/ a/)f/g/a/ | (f<d) (c>A) (G/A/c/)(G/ A<c) | 
 (d>D) (D/E/F/D/) E<A A,3/2 (3(g/4f/4e/4 | f>d) e^c d3 |]  