Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:6/8
K:G
['g2 g gba gfe d3', 'ded dcB ABc B2', 'bag ^fga g2 d b2 b bag^fga'  
X:1
L:1/8
M:6/8
K:G
 g2 g gba | gfe d3 | gfe ded | cBA B2 G | g2 g gba | gfe d3 | Bdg edc | BcA G3 :| ded dcB | 
 ABc B2 G | GAB ced | def g3 | ded dcB | ABc B2 g | dBg ecg | fge d3 ||[K:Gmin] b2 b bag | 
 ^fga g2 d | b2 b bag^fga g3 | d=Bg =ecg | d=B(g e)cg | ^fga =bag | ^fg=e d3 D.CS .eza e!p!ca ||  