Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['B2 BA Bgge dcde dBGA BcBA Bgge', 'G2 gfed eBBf gfed e2 ef']  
X:1
L:1/8
M:4/4
K:G
 B2 BA Bgge | dcde dBGA | BcBA Bgge | dBGB A2 G2 :| gfed eBBf | gfed e2 ef | gfed efge | 
 dBGB A2 G2 | gfed eBBf | gfed e2 ef | g2 bg efge | dcde dBGA ||  