Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['G>A BA/G/', 'de/f/ gd BG'  
X:1
L:1/8
M:2/4
K:G
 D |:"G" G>A BA/G/ |"C" c>d ed/c/ |"G" Bg d/e/d/c/ |"D7" BA AD |"G" G>A BA/G/ |"C" c>d ed/c/ | 
"G" Bg"D7" d/B/c/A/ |"G" BG G2 :| d |:"G" g2"D7" de/f/ |"G" gd BG |"G" g2 d/e/d/c/ |"D7" BA Ad | 
"G" g2"D7" de/f/ |"G" gd BG |"C" ce"D7" Ad/c/ |"G" BG G2 :|  