Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/4
Q:1/4=120
M:6/4
K:Amin
['B (c d) e e2', 'z z'  
X:1
L:1/4
Q:1/4=120
M:6/4
K:Amin
 B | (c d) e e2 e | (e B) B B2 B | (B c) d d2 d | (d A) A A2 B | (c d) e e2 A | ^G3 G2 || B | 
 (E ^G) B e2 e | c2 B (c A) e | f2 e f2 f | d2 c B2 d | e2 d (e/f/ g) (f/d/) | d2 c c3 | 
 ^F z z ^G z z | A z z z z A | B z z z z B | c z c d c d | B z z c z z | d z z e z z | 
 f z z z z f | e3 ^G2 A | (A3 A2) |]  