Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:2/4
K:G
['dg/d/ Bd/B/ GB DG Bd gf/g/ ba', 'f>e b>a gg g']  
X:1
L:1/8
M:2/4
K:G
|:"G" dg/d/ Bd/B/ | GB DG | Bd gf/g/ |"Am" ba a2 |"D7" ce/c/ Ac/A/ | FA DF | Ad fe/f/ | 
"G" ag g z ::"D7" a2 ag/a/ | ba fd |"G" dg gf/g/ | bg"C" e2 |"Am" c2 c>B |"D7" Ad f>e | 
"G" dg"D7" b>a |"G" gg g z :|  