Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:6/8
K:G
['e^de gfe', 'z A>BA c2 A B2 d d>ed', 'dc Bdgd Bdgd', 'Bded Aded'  
X:1
L:1/8
M:6/8
K:G
|: d>ed Bcd | e^de gfe | d>ed d>cB | c2 A A2 d | d>ed B>cd | e^de gfe | ded cBA | G2 G G2 z :: 
 A>BA c2 A | B2 d d>ed | ^cec ABc | de^c def | gdB GBd | e^de gfe | dBg{g} fef | g2 g g2 z :| 
[M:4/4][K:G] dc | Bdgd Bdgd | edcB A2 dc | Bded cBAG | FGAB A2 dc | Bdgd Bdgd | ecAa gfge | 
 fadf eg^ce | d2 f2 d2 |] dc | Bdgf edcB | Acag fdef | gdBd cABG | GFAF D2 dc | Bded Aded | 
 Bded Aded | cBcA BGAF | G2 B2 G2 |]  