Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:Amix
['AAAc AAAc Acec Acec', 'e>ded cBcd e>dec fedc'  
X:1
L:1/8
M:4/4
K:Amix
 ec | AAAc AAAc | Acec Acec | GGGB GGGB | GBdB GBdB | AAAc AAAc | Acec Acec | Bcdf ecdB | 
 c2 A A3 :: cd | e>ded cBcd | e>dec fedc | d2 fd BBBc | dcde dBGB | e>ded cBcd | e>dec fedc | 
 Bcdf ecdB | c2 A A3 :|  