Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:4/4
K:Gmin
['g>ab>g d>gb>g'  
X:1
L:1/8
M:4/4
K:Gmin
 A |"Gm" D<GG>F D<GG>A |"F" F>GA>B c/B/A/G/ F<A |"Gm" D<GG>F D<GG>g | 
"F" f>c"D7" d/c/B/A/"Gm" G2 G :| d |"Gm" g>ab>g d>gb>g |"F" a/g/f/e/ c>d f>ca<f | 
"Gm" g>ab>g d>gb>g |"D7" b/a/g/f/ d>^f"Gm" g/g/g g2 |"Gm" g>ab>g"D" a>^f"Gm" g>d | 
"F" f>cd<f A>Fc>A |"Gm" D<GG>F D<GG<g |"F" f<c"D7" d/c/B/A/"Gm" G2 G |]  