Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:Amin
['ABcB AGEG ecdB', 'A2 cA eage (3ABA cA GBdg']  
X:1
L:1/8
M:4/4
K:Amin
 B | ABcB AGEG | ecdB cBAG | ABcd ea^ga | gede gedB | ABcB AGEG | ecdB cBAB | cdeg ^fded | 
 (3cBA BG A3 :| z | A2 cA eage | (3ABA cA GBdg | edeg a^gab | g^fed edcB | A2 cA eage | 
 (3ABA cA GBdg | a^gab =ge^fd | (3cBA BG A3 :|  