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
['E ABcB EA A2 B>AGd BGGB A>BcB', 'agea ge a2']  
X:1
L:1/8
M:4/4
K:Amin
 E | ABcB EA A2 | B>AGd BGGB | A>BcB EAAe | dBGB cA A2 :: agea ge a2 | g>edg B>Gd>B | agea ge a2 | 
 g>eg>B{B} A2 A2 | agea ge a2 | gedg B>Gd>B | A>cB>d c>fe>a | g>eg>B A2 A2 :|  