Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
M:2/2
K:G
['d2 dc Bcde decd B2 G2 c2', 'g2 d4 d4 Bcde'  
X:1
L:1/8
M:2/2
K:G
 d2 dc Bcde | decd B2 G2 | c2 c2 cded |1 c8 :|2 c6 || cd | e2 e2 ef g2 | d4 d4 | Bcde c2 B2 | 
 abga f2 d2 | e2 e2 ef g2 | d4 d4 | Bcde cd B2 |1 A3 G G2 :|2 A3 G G4 |]  