Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['BAGB AGEG D2 B/c/d', 'd2 ^cd'  
X:1
L:1/8
M:4/4
K:G
|: A | BAGB AGEG | D2 B/c/d gdBG | FGAB cBcd | fdcB ADGA | BAGB AGEG | D2 B/c/d gd^cd | 
 fec/B/A EcBA | GGFG G3 :: B | d2 ^cd gdcd | fec/B/A E3 e | d2 ^cd ed=cB | (3ABA (3GFE D2 Bc | 
 d2 ^cd gdcd | fec/B/A E3 e | dgfe (3ded (3cBA | (3GAG FA G3 :|  