Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=320
M:6/8
K:G
['BAB G2', 'c BGB'  
X:1
L:1/8
Q:1/8=320
M:6/8
K:G
 c | BAB G2 F | E2 F G2 A | BAB G2 B | AFD D2 c | BAB G2 F | E2 F G2 A | BGB d2 B | AFD D2 :| c | 
 BGB ded | BGB d2 c | BGB dgd | ecA A2 c | BGB ded | BGB def | gfe d2 c | AFD D2 :|  