Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:G
['(3DEF |]:', 'Bc dggf g2 fe dedc B2 AG', 'G2 GG G2'  
X:1
L:1/8
M:4/4
K:G
 (3DEF |]: GFGA BdcB | AGAB G2 Bc | dgfg edcB | cedB A2 Bc | dggf g2 fe | dedc B2 AG | ABcA dcAF |1 
 G2 GG G2 (3DEF :|2 G2 GG G2 Bc |: dggf g2 fe | dedc B2 AG | ABcA edcB | Add^c d2 B=c | 
 dggf g2 fe | dedc B2 AG | ABcA dcAF |1 G2 GG G2 Bc :|2 G2 GG G2 (3DEF |]  