Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:3/8=80
M:6/8
K:G
['GBd g2 f f3 e2 G FAc', 'B2 d'  
X:1
L:1/8
Q:3/8=80
M:6/8
K:G
 B/A/ | GBd g2 f | f3 e2 G | FAc e2 d | B2 z BBA | GBd g2 f | f3 e2 G | FAc e2 d | G3 G2 || d | 
"^NB" d2 A ABc | ^A3 B2 d | dAG Adc | c3 B2 d | ^c2 c{d} cBc | d3 ^cBA |]  