Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/2
K:G
['D G3 dGBG', 'BG(3Bcd g2 gf gbag fede'  
X:1
L:1/8
M:2/2
K:G
 DGBG dGBG | DFAF cFAF | DGBG dGBG | BdcA BGAG | D G3 dGBG | D F3 cFAF | D G3 dGBG | 
 BdcA BG(3Bcd || g2 gf gbag | fede fgaf | g3 f gbag | fdcA BG(3Bcd | g2 gf gbag | fede fg a2 | 
 defg abag | fdcA BGAG ||  