Create melodies by incorporating the provided musical pattern and motif.
X:1
L:1/8
Q:1/8=350
M:4/4
K:G
['DEFD GEDC B,A,B,C DEFD GFGB', 'gBdB GBdg bgag edef'  
X:1
L:1/8
Q:1/8=350
M:4/4
K:G
 E | DEFD GEDC | B,A,B,C DEFD | GFGB dG (3GFG | G=FDE FDCE | DEFD GEDC | B,A,B,C DEFD | GFGB AGFE | 
 DEFD G3 :| d | gBdB GBdg | bgag edef | gBBA BcBA | GBdB A2 Bd | gBdB GBdg | bgag edef | 
 gd (3d^cd cd=cA | FDBA G3 :|  