Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:Bb
['g g2']  
X:1
L:1/8
M:6/8
K:Bb
 f | f>dddcd | ee z3 g | g2 eefg | f3 z2 f | f>ddd>cd | e2 g g2 g | fgf e2 e | d2 z3 |]  