Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['dBB BAB', 'gfg aga bge'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 g | dBB BAB | dBB B2 g | dBB BAB | GEE E2 g | dBB BAB | dBB BAB | G2 A BAB | GEE E2 :| d | 
 gfg aga | bge dBG | gfg aga | bge e2 g/a/ | bag agf | gfe dBG | ABc BAB | GEE E2 :|  