Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:2/2
K:Amin
['B, C>EA,>A C>A,A,>C B,>A,G,>G B,<G, G,>B, C>EA,>A', 'c<eA<e c<A A>c']  
X:1
L:1/8
M:2/2
K:Amin
 B, | C>EA,>A C>A,A,>C | B,>A,G,>G B,<G, G,>B, | C>EA,>A C<A, A,>c | B>Gd>B A2 A :| B | 
 c<eA<e c<A A>c | B>Gd>G B<G G>B | c<eA<e c<A A>c | B<G d>B A2 A>B | c<eA<e c<A A>c | 
 B<Gd<G B<G G>B | c>ed>B c>AB>G | A>EG>B, A,2 A, ||  