Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:Amin
['E A<AA>^G AB e2 d<Bg>B A>GE>A G>AB>A', 'B>AA e a>ba>^g a>ba>^f g>ab>a g<e dg/a/'  
X:1
L:1/8
M:4/4
K:Amin
 E | A<AA>^G AB e2 | d<Bg>B A>GE>A | G>AB>A G>AB>d | D<DE>G B>AA || e | a>ba>^g a>ba>^f | 
 g>ab>a g<e dg/a/ | b>age d>ega | g<eg>B B>AA ||  