Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['D GAG GBd gfe d2 c', 'c Bdg dBG'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 D | GAG GBd | gfe d2 c | Bdg dBG | FAA A2 D | GAG GBd | gfe d2 c | BdB cAF | GAG G2 :| c | 
 Bdg dBG | Bdg d2 c | Bdg dBG | FAA A2 c | Bdd def | gfe fdc | BdB cAF | GAG G2 :|  