Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
Q:1/4=90
M:2/4
K:G
['(3(def) gf eg fg af gf ed']  
X:1
L:1/8
Q:1/4=90
M:2/4
K:G
"_vb" D2 | G>A Bc | dg fd | ec AF | G2 (3(def) | gf eg | fg af | gf ed | g2 (3(def) | gf eg | 
 fg af | gf ed | g2 BA | G>A Bc | dg fd | ec AF | G2 |]  