Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['B2 BG AEGE D2 GA BE E2', 'dg (3efg'  
X:1
L:1/8
M:4/4
K:G
 B2 BG AEGE | D2 GA BE E2 | B3 A G3 B | dBGc BGGD | G2 BG DGBG | DGBG AE E2 | DGBG DGBc | 
 dBAc BG G2 || dggf g2 dg | (3efg dg (3efg dc | dggf g2 dg | ea a2 agef | g2 g2 ag d2 | 
 (3efg dg (3efg d2 | g2 g2 a2 ga | (3bag ae ge d2 ||  