Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/2
K:G
['E2 eB'  
X:1
L:1/8
M:2/2
K:G
 (3(def) |"G" gabg"D" fgaf |"C" efge"G" dBAG |"C" EFGE"G" DB,DG |"G" BdBG"D" Adef | 
"G" gabg"D" fgaf |"C" efge"G" dBAG |"C" EFGE"G" DB,DG |"G" BG"D"AF"G" G2 :: D^D |"Em" E2 eB d2 e2 | 
 E2 eB dBAG | E2 eB d2 e2 |"D" fgaf edBA |"Em" E2 eB d2 e2 | E2 eB dBAG |"C" cBcd efge | 
"D" dBAF"G" G2 :|  