Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:C
['e>dcA GED>C EGG>c c3 d e>deg', 'd>^cde A3'  
X:1
L:1/8
M:4/4
K:C
 d | e>dcA GED>C | EGG>c c3 d | e>deg Bcf>e | e2 d2 z2 c>d | e>dcA GED>C | EGG>c c3 d | 
 e>deg Bcfe | d2 c2 z2 || e2 | d>^cde A3 e | d>^cde A3 B | =c>dcA Gcfe | e4 d2 d2 | e>fec AB c2 | 
 f>gfd Bc d2 | g>age cdec | agge d2 c2 | E>D C2 c>d e2 | F>E D2 d>e f2 | G>F E2 e>fgf | 
 ecfe d2 c2 ||  