Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/16
Q:1/4=112
M:2/4
K:Bmin
['A4 A2e2', 'gfed c2A2', 'gfef c2A2', 'd4 f4', 'a4 gfef', 'gfed c2A2', 'gfef c2A2']  
X:1
L:1/16
Q:1/4=112
M:2/4
K:Bmin
 A4 A2e2 | A4 A2e2 | A4 A2e2 | A4 A2^G2 | A4 A2e2 | A4 A2e2 | A4 A2e2 | A4 A2^G2 |: a4 gfef | 
 gfed c2A2 | a4 gfef | gfed c2A2 | a4 gfef | gfed c2A2 | gfed c2A2 | A2a2 A2a2 :: cdef gfef | 
 gfef c2A2 | cdef gfef | gfef c2A2 | cdef gfef | gfef c2A2 | gfef c2A2 | A2a2 A2a2 :: d4 f4 | 
 d4 f4 | d4 f4 |1 d4 cBA2 :|2 A2 Bc d4 |: fga2 baa2 | fga2 baa2 | fga2 baa2 |1 f2e2 f4 :|2 
 f2e2 d4 |: a4 gfef | gfed c2A2 | a4 gfef | gfed c2A2 | a4 gfef | gfed c2A2 | gfed c2A2 | 
 A2a2 A2a2 :: cdef gfef | gfef c2A2 | cdef gfef | gfef c2A2 | cdef gfef | gfef c2A2 | gfef c2A2 | 
 A2a2 A2a2 :|  