Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:4/4
K:D
['c<e{gf} g>e{ag}', 'g>e c<e{gf} g>e{ag} a2{GdG} ad |{g} c/{GdG}e{gf}'  
X:1
L:1/8
M:4/4
K:D
{gcd} c/{e}A{gAGAG} A2{gef} e>A{gAGAG} Ad |{gcd} c/{e}A{gAGAG} A>e{ag} a>f{gef} e>d | 
{gcd} c/{e}A{gAGAG} A2{gef} e>A{gAGAG} Ad |{g} c/d/e{g} G3/2{d}B{gf} gG{dc} d>B :| 
{g} c<e{gf} g>e{ag} a>e{gf} g>e |{g} c<e{gf} g>e{ag} a2{GdG} a>d |{g} c<e{gf} g>e{ag} a>e{gf} g>f | 
{gef} e>d{gf} g>d{gBd} B/{e}G{dc} d>B |{g} c<e{gf} g>e{ag} a>e{gf} g>e | 
{g} c<e{gf} g>e{ag} a2{GdG} ad |{g} c/{GdG}e{gf} ga{f} g>e{g} f>d | 
{g} e/f/g{Gdc} d>c{gBd} B/{e}G{dc} d2 |]  