Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:4/4
K:Amin
['e2 d2', '(3cBA BG'  
X:1
L:1/8
M:4/4
K:Amin
 e4 d4 | cBcd{f} e2 d2 | e^fe^c d^cdB |{d} BABG E^D =D2 | e^fe^c dcdB | cBcd{^f} e2 d2 | 
 (3e^fg fa gedB |1 (3cBA BG EGDG :|2 (3cBA BG EGAG |: EAAc BGGA |{d} BABd (3e^fe d2 | 
 DEAA{c} BGGA | (3cBA BG EGDG | EAAc BGGA |{d} BABd (3e^fe d2 | (3e^fg fa gedB |1 (3cBA BG EGDG :|2 
 (3cBA BG EG D2 ||  