Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:Edor
['E2 (3ABc d2 (3ABc dBAF DEFD E2', 'afed Bdef gf e2 dBA=c BE E2'  
X:1
L:1/8
M:2/2
K:Edor
 E2 (3ABc d2 (3ABc | dBAF DEFD | E2 BE dEBc |1 dBA=c BEED :|2 dBA=c BE E2 || (3Bcd ef g2 fe | 
 defa afed | Bdef gf e2 | dBA=c BE E2 | (3Bcd ef g2 fe | defa af d2 | gafg edBc | dBA=c BEED ||  