Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:Amin
['B2 A B2 d', 'E2 E'  
X:1
L:1/8
M:6/8
K:Amin
 E | A2 A c2 d | B2 A B2 d | A2 A e2 e | fed e2 B | c2 c d2 c | B2 A B2 d | fed e2 B |1 c2 A GA :|2 
 A2 B c2 |] G | E2 E E2 D | E2 E c2 d | B2 A G2 E | D2 C D2 F | E2 E E2 D | E2 E c2 d | B2 A G2 B | 
 A3- A2 :|  