Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:2/2
K:A
['e/d/c/B/ Aa', 'E2 B/A/G/F/ Ec d2 c2 dcBA B/A/G/F/'  
X:1
L:1/8
M:2/2
K:A
|: e/d/c/B/ Aa f2 e2 | dcBA B/A/G/F/ E2 | e/d/c/B/ Aa f/e/d/c/ Ba | gf/e/ B^d e2 E2 :: 
 B/A/G/F/ Ec d2 c2 | dcBA B/A/G/F/ E2 | A>BA>B cdeE | Fd/B/ AG A2- A2 :|  