Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['DBB B2 d cAA A2 c BGG', 'Bcd def gfe fdB'  
X:1
L:1/8
M:6/8
K:G
 DBB B2 d | cAA A2 c | BGG GFG | ABG FED | DBB Bcd | cAA ABc | dGG DGG | BGG G3 :: Bcd def | 
 gfe fdB | ded dBG | GAG FED | Bcd def | gfe fdB | dGG DGG | BGG G3 :|  