Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:4/4
K:Amin
['eA A/A/A (ed)Bd', 'edeg abag']  
X:1
L:1/8
M:4/4
K:Amin
 g | eA A/A/A (ed)Bd | BG G/G/G (BA)Bd | eA A/A/A (ed)Bd | edgB A2 A :: g | edeg abag | dgBg dgBg | 
 edeg abag | edgB A2 A :|  