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
['g2 dg bgag ec'  
X:1
L:1/8
M:4/4
K:G
"G" G2 BG"D" cAFA |"G" GABd g2 fg |"C" ecAc"G" dBGB |"Am" cAAB"D" AF D2 |"G" DGBG"D" cAFA | 
"G" GABd g2 fg |"C" ecAc"G" dBGB |"D" cAFA"G" G4 :|"G" g2 dg bgag |"C" ec c/c/c"Am" efge | 
"G" dB B/B/B"Em" dBGB |"C" cAAB"D" AF D2 |"G" g2 dg bgag |"C" ec c/c/c efge |"G" dB B/B/B"C" dBGB | 
"D" cAGF"G" G4 |"G" g2 dg bgag |"C" ec c/c/c"Am" efge |"G" dB B/B/B"Em" dBGB |"C" cAAB"D" AF D2 | 
"C" G,CEC"G" B,DdB |"D" cdef"G" g2 fg |"C" ecAc"G" dBGB |"D" cAFA"G" G4 ||  