Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:6/8
K:G
['d2 B', 'gag f2 g'  
X:1
L:1/8
M:6/8
K:G
 B | dcB d2 B | d2 B gfe | dcB d2 B | c2 A FED | dcB d2 B | d2 B gfe | dcB c2 A FEF G2 :| d | 
 gag f2 g | efe dBG | gag f2 g | afd g2 d | gag f2 g | efe dBG | ABA e2 e | dcA G2 :|  