Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['', 'd2 g f2 e ded Bdg', 'A2 e'  
X:1
L:1/8
M:6/8
K:G
 Bc |: d2 g f2 e | ded Bdg | f2 c c3 | e2 d B2 c | d2 g f2 e | ded Bdg | edc BAG |1 G3- GBc :|2 
 G3- G2 A || BcB A2 B | d2 G B3 | BAB d2 G | B3- BcB | ABA A2 e | e2 A A2 e | ded cBA |1 
 G3- G2 A :|2 G4 ||  