Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
M:2/4
K:G
['BGBd BGBd gfge dBGc ecdB', 'dgBg dgBg dgba gfed eaca eaca'  
X:1
L:1/16
M:2/4
K:G
|: BGBd BGBd | gfge dBGc | ecdB cABG | E2 A2 A2 dc | BGBd BGBd | gfge dBGc | ecdB cABG | E2G2G2 :: 
 g2 | dgBg dgBg | dgba gfed | eaca eaca | c2ag fedc | dgBg dgBg | dgba gfed | eaca eaca | 
 bagf g4 :|  