Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:3/4
K:D
['Ad cd Bc A/B/c/d/ e2 e2 fe/f/', 'gg f2'  
X:1
L:1/8
M:3/4
K:D
 Ad cd Bc | A/B/c/d/ e2 e2 | fe/f/ gf ed | dc/d/ e/d/c/B/ A2 | Ad cd Bc | A/B/c/d/ e2 e2 | 
 fe/f/ ge bg | f/e/d/c/ d2 D2 :: f2 aa gg | f2 gg f2 | ff/a/ gf ed | dc/d/ e/d/c/B/ A2 | f2 aa gg | 
 f2 gg f2 | ff/a/ gf e/f/g/a/ | b/g/e/c/ d2 D2 :|  