Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
['A2 EA cdec dBGB AEG^F EAcA Bdg^f', "A2 a2 ea c'aea"  
X:1
L:1/8
Q:1/8=180
M:4/4
K:Amin
 A2 EA cdec | dBGB AEG^F | EAcA Bdg^f | eaag abag | e=fed cA A2 | g2 dc BdcB | AEcE dEcd | 
 ecBG EA A2 :| a2 ea c'aea | g2 dg bgdg | aged cded | (3cBA BG EA A2 | a2 ea c'aea | gage dBGB | 
 ABcd eaa^f | gedg eA A2 :|  