Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:2/4
K:G
['g/a/g/f/ g>d BG GA/B/ c/B/A a>g fd', 'BG GA/B/ c/B/A'  
X:1
L:1/8
M:2/4
K:G
|: g/a/g/f/ g>d | BG GA/B/ | c/B/A a>g | fd ef | g>f gd | BG G2 | c/B/A dF | G2 G2 :: BG dG | 
 BG GA/B/ | c/B/A eA | cA E/F/G/A/ | BG d>G | BG GA/B/ | c/B/A dF | G2 G2 :|  