Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:9/8
K:G
['dBB B<BA BAG', 'g2 e'  
X:1
L:1/8
M:9/8
K:G
 e | dBB B<BA BAG | dBB Bcd efg | dBB B<BA BAG | e2 A dBG AA :| e | BGB g2 e fed | BGB g2 e f3 | 
 BGB g2 e fed | e2 A ABd e3 | BGB g2 e fed | BGB g2 e f3 | def g2 e fed | e2 A ABd efg ||  