Develop a musical composition that aligns with the given structural outline and thematic content.
X:1
L:1/8
M:2/2
K:G
['G2 A BAB def'  
X:1
L:1/8
M:2/2
K:G
 D |"G" G2 A BAB |"C" cBc"D7" def |"G" g2 d"C" edc |"A7" BA^G"D7" A2 D |"G" G2 A BAB | 
"C" cBc"D7" def |"G" gdc BdB |"D7" AGF"G" G2 :: d |"G" g2 a bag |"D7" def"G" g2 d | 
 g2 a"^(Em)" bag |"D7" fef"G" g2 d |"G" G2 A BAB |"C" cBc"D7" def |"G" gdc BdB |"D7" AGF"G" G2 :|  