Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['A G2 G2']  
X:1
L:1/8
M:4/4
K:G
|:"G" B3 A GBdB |"D" A2 d2"Em" E3 F |"C9" GGdG"D" FddF |"Em" EccE"D" dcBA |"G" BAGB d2 cB | 
"D" ABcd"Em" E3 F |"C" GGdG"D" FdcA |1 A z"G" G2 G2 GA :|2 A z"G" G2 G2 GF |:"Em" E2 dE"D" F2 dF | 
"C9" G2 dG edcB |"D" ABBA ddAe |"D" fedc BAGF |"Em" E2 dE"D" F2 dF |"C9" G2 dG edcB | 
"D" A3 B cBAF |1 A z"G" G2 G2 GF :|2 A z"G" G2 G2 GA ||  