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
['gedB AB', 'G2 Bddd edge dBAB G4 Bddd c4'  
X:1
L:1/8
M:4/4
K:G
 GEDE GA B2 | BG c2 Ac B2 | GEDE GABd |1 gedB AB G2 :|2 gedB AB G4 || Bddd cded | d2 dB AB G2 | 
 Bddd edge | dBAB G4 | Bddd c4 | B2 GB ABGE | DEGA Bdge | dBAB G2 ||  