Construct a musical piece utilizing the given sequence in alphabetical form and the supplied motif.
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
['A3/2{d}A/{e}A3/2{d}B<e{g}e/{A}e>f |{a}']  
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
{g} A3/2{d}A/{e}A3/2{d}B<e{g}e/{A}e>f |{a} g>e{g}d>B{g}G>A{g}B/{d}G3/2 | 
{g} A3/2{d}A/{e}A3/2{d}B<e{g}e/{A}e>f |{a} g>e{g}d>g{a}e>A{gAGAG} A2 | 
{g} A3/2{d}A/{e}A3/2{d}B<e{g}e/{A}e>f |{a} g>e{g}d>B{gGd} G2{gf} g2 |{a} e>d{g}e>g{ag} a2 e>a | 
 g>e{g}d>g{a}e>A{gAGAG} A2 |]{ag} a2- a>ga>g{a}e>f |{gf} g2 a>fg>e{g}d>g |{a} e>a{g}a>ga>g{a}e>f | 
{a} g>e{g}d>g{a}e>A{gAGAG} A2 | a>g{a}e>f{a}g>ag>e |{g} d>c{g}d>B{g}G>A{g}B>d | 
{g} (3(cBA){g}e>A{g}B>d{g}e>a | g>e{g}d>g{a}e>A{gAGAG} A2 |]  