Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:6/8
K:G
['G3 GED EAA ABd efg edB', 'EDE GAB d3 deB dBA GAE e3'  
X:1
L:1/8
M:6/8
K:G
 G3 GED | EAA ABd | efg edB | Aee edB | G3 GED | EAA ABd | efg edB | ABG EDE :: GAB d3 | deB dBA | 
 GAE e3 | efg edB | GBd efg | eaf gab | age dBG | ABG EDE :|  