Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:Amix
['ABcd eAce', 'aA A/A/A eAcA', 'Aece dcBc d2'  
X:1
L:1/8
M:4/4
K:Amix
 ABcd eAce | fAdf edcB | ABcd eAce | dcBc |1 d2 cB :|2 defg || aA A/A/A eAcA | a2 ag fefg | 
 aA A/A/A eAcA | dcBc defg | aA A/A/A eAcA | a2 ag fefg | afge fdec | dcBc d2 cB |]: Aece Aece | 
 Aece d2 cB | Aece Aece | dcBc d2 cB :|  