Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:6/8
K:Amin
['EAA ABc', "e^fg abc' bag a2 g ede"]  
X:1
L:1/8
M:6/8
K:Amin
 E | EAA ABc | BAG c2 A | BGE EFE | GED DED | EAA ABc | BAB GBd | ede gdB | (MBA)A A2 :: d | 
 e^fg abc' | bag a2 g | ede g2 a | (g<b)a ged | e^fg abc' | bag a2 g | ede gdB | (MBA)A A2 :|  