Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
M:4/4
K:Amix
['e2 ed', '=c2 gc'  
X:1
L:1/8
M:4/4
K:Amix
|: e2 ed cA A2 | ABce d2 cd | e2 ed cAAf | gage d2 cd :: =c2 gc acgc | =c2 gc BAGB | =c2 gc ac g2 | 
 gage d2 cd :|  