Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['GBe dBG', 'g2 g gab'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
 GBe dBG | B2 B B2 A | GBe dBG | ABA A2 B | GBe dBG | B2 d g2 a | bag fed | B2 B B3 :: g2 g gab | 
 d2 d d2 B | g2 g gab | e2 e e2 f | gfe gab | d2 d g2 a | bag fed | B2 B B3 :|  