Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/4
M:3/4
K:Amin
['A E A B E B c', 'B c'  
X:1
L:1/4
M:3/4
K:Amin
 A E A | B E B | c d/c/B/A/ | B/A/G/F/ E | c G c | d G g | e f/e/d/e/ | c3 :: e f/e/d/c/ | d c B | 
 c d/c/B/A/ | ^G/A/ B E | A E A | B e B | c d/c/B/c/ | A3 :|  