Create melodies by incorporating the provided musical pattern and motif.
X:1
L:1/8
M:4/4
K:G
['G2 BG A2 GE D3 E GABd', 'gfgd egdB'  
X:1
L:1/8
M:4/4
K:G
 G2 BG A2 GE | D3 E GABd | g2 fd egdB | BAAG AdBA | G2 BG A2 GE | D3 E GABd | g2 fd egdB | 
 AGAB G4 :| gfgd egdB | G2 BG gGBG | gfgd egdB | A/A/ABG ABcd | ggfg egdB | cdef g2 fg | 
 gfgd egdB | AGAB G4 :|  