Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:Amin
['eaag fedc', 'A d cAGA cdec dcde defd eagf'  
X:1
L:1/8
M:4/4
K:Amin
 g | eaag fedc | cdef gecg | eaag fedc | dcde A/A/A A :: d | cAGA cdec | dcde defd | eagf ecde | 
 cABG A/A/A A :|  