Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['D G2 G A2 A BAB c2', 'c cec AAG F2'  
X:1
L:1/8
M:6/8
K:G
 D | G2 G A2 A | BAB c2 c | d2 d GAB | AGA G2 :| c | cec AAG | F2 E D2 c | cec AAG | F2 G A3 | 
 G2 G A2 A | BAB c2 c | d2 d GAB | AGA G2 ||  