Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:2/2
K:none
['A2 A2{g} a2 e>f', 'A3/2{d}A{e}A3/2{d}B A2 A2{g} a2 e>f |{gf} g2']  
X:1
L:1/8
M:2/2
K:none
|:{gef} e2{g} d>e{g} A3/2{d}A{e}A3/2{d}B |{gf} g2{a} f<g{a} B/{d}G{g}B<d | 
{gef} e2{g} d>e{A} e>ge<a | g>e{g}d>B{g} A3/2{de}A3/2{d}B :|{gAGAG} A2 A2{g} a2 e>f | 
{gf} g2 a>e{g} f>d{G}d>e |{gAGAG} A2 A2{g} a2 e>f |{a} g>e{g}d>B{g} A3/2{d}A{e}A3/2{d}B | 
{gAGAG} A2 A2{g} a2 e>f |{gf} g2 a>e{g} f>d{G}d>e | a>e{g}f>e{g} e2{AGAG} A<a | 
 g>e{g}d>B{g} A3/2{d}A{e} A2 |]  