Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['DG GG GB G2 AB cA FA']  
X:1
L:1/8
M:2/4
K:G
|:"G" DG GG |"G" GB G2 |"D" AB cA |"D" FA D2 |"G" B2 cA |"D" d2 cA |1"G" G2 cB |"D" A2 z2 :|2 
"D" G2 AF |"G" G2 z2 ||  