Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:4/4
K:A
['A>AAB AECE A>EAc e2 dc', 'A2 cd e>eef ecAe e>eec e2 ce'  
X:1
L:1/8
M:4/4
K:A
 E2 | A>AAB AECE | A>EAc e2 dc | B>BBc BFDF | B>BBc defd | A>AAB AECE | A>EAc e2 dc | B>BBd fdBG | 
 A2 c2 A2 || cd | e>eef ecAe | e>eec e2 ce | f>ffg fdBd | f>ede fagf | e>eef ecAE | C>EAc e2 dc | 
 B>BBd fdBG | A2 c2 A2 ||  