Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
M:2/2
K:G
['A Bd d2', 'Bdd^c d3', 'cBAG FGAc'  
X:1
L:1/8
M:2/2
K:G
 G2 FG EGDE | G3 A Bd d2 | eB B2 dBAF | GBAG FDEF | G2 FG EGDE | G3 A Bd d2 | eB B2 dBAF |1 
 GBAF G2 (3DEF :|2 GBAF G2 GA |: Bdd^c d3 A | Bd d2 ef g2 | Bdd^c d3 B | cBAG FGAc | Bdd^c d3 A | 
 Bd d2 efga | bgaf gedB | cBAG FGAc :: BGGF G3 A | BG G2 Bdgd | BGGF G2 AB | cBAG FGAc | 
 BGGF G3 A | BG G2 Bdga | bgaf gedB |1 cBAG FGAc :|2 cBAG FGAF ||  