Compose music that follows the specified structure and includes the provided theme
X:1
L:1/4
M:4/4
K:G
['G G'  
X:1
L:1/4
M:4/4
K:G
"^A""G" G G A/ B A/ |"G" B d"D7" d B/A/ |"G" G G A/ B G/ |"D7" A G"G" G2 :| 
"^B""G" g g"C" g/a/g/e/ |"G" d B"D7" d3/2 e/ |"G" g g g g/a/ |"A7" b a"D7" a2 | 
"G" g g"C" g/a/g/e/ |"G" d B"D7" d B/A/ |"G" G G G/A/B/G/ |"D7" A G"G" G2 ||  