Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
Q:1/2=90
M:4/4
K:A
['agae ceAc dBcA', 'A2 cAeA fAeA dBcA GBBd cedf egac'  
X:1
L:1/8
Q:1/2=90
M:4/4
K:A
 agae ceAc | dBcA GBBg | agae ceAc | dBcA EA A2 :: cAeA fAeA | dBcA GBBd | cedf egac | 
 (3dcB cA EA A2 :|  