Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:6/8
K:G
['G2 G EDE G2 B', 'G2 B d2 g gfg e2 ge'  
X:1
L:1/8
M:6/8
K:G
|: D | G2 G EDE | G2 B dB/c/d | eAA BAG | EAA AGE | G2 G EDE | G2 B dBd | eBB AGE | G3 G2 :: B | 
 d2 g gfg | e2 ge dB/c/d | eAA AB/c/d | gfg edB | dgg ge/f/g | eaf g2 e | dBB AGE | G3 G2 :|  