Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
['B d', 'B d'  
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
"^Allegro" B d d c/B/ | c e e d/c/ | B d d c/B/ | c A A d/c/ | B d d c/B/ | d e e d/c/ | 
 B d A/B/c/A/ | B G G z || B d d e/f/ | g/f/g/a/ g c | B d d c/B/ | c A A c | B d d e/f/ | 
 g/f/g/a/ g c | B d A/B/c/A/ | B G G ||  