Create melodies by incorporating the provided musical pattern and motif.
X:1
L:1/8
M:4/4
K:G
['BdcB AGBA', 'G2 (3def gGBd gbag fagf e2 (3gfe'  
X:1
L:1/8
M:4/4
K:G
|: dc | BdcB AGBA | GDDE D2 EF | GDAD BDcB | AGFG ADdc | BdcB AGBA | GEAG FEDC | B,DGD EcAF | 
 A2 G2 G2 :: (3def | gGBd gbag | fagf e2 (3gfe | dDFA dfed | cdgB ADGA | BdcB AGBA | GEAG FEDC | 
 B,DGD EcAF | A2 G2 G2 :|  