Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:6/8
K:G
['G2 G BAB GBd', 'G2 e dBd g2 e dB/c/d g3', 'E2 E GFE BcB'  
X:1
L:1/8
M:6/8
K:G
|: (3D/E/F/ | G2 G BAB | GBd g2 e | dBG GFG | ABA AFD | G2 G BAB | GBd gfe | dBG AGA | BGG G2 :: 
 e | dBd g2 e | dB/c/d g3 | dBG GFG | ABA AFD | G2 G BAB | GBd gfe | dBG AGA | BGG G2 :: G | 
 E2 E GFE | BcB B3 | GFE FED | EFG B3 | E2 E GFE | BcB BEF | GFE FED | E3 e2 :|  