Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['ABd e/f/gG GDE', 'G2 e/f/ gag gdB Aaa a2 g'  
X:1
L:1/8
M:6/8
K:G
 g | B>AG GDE | A>BA ABd | e/f/gG GDE | GAG B2 G | cAc BGB | ABA ABd | e/f/gG GDE | GAG G2 :: 
 e/f/ | gag gdB | Aaa a2 g | def gdB | gb/a/g/f/ gdB | c>de gdB | aAA ABd | e/f/gG GDE | G>AG G2 :|  