Create a composition following the given musical structure and theme.
X:1
L:1/4
M:3/4
K:G
['(d2 B)', 'e) (g2'  
X:1
L:1/4
M:3/4
K:G
 d | (d2 g) | (e2 g) | (d2 B) | (G2 e) | (d2 c) | (A2 e) | (d2 B) | G2 ud | d f g | e f g | 
 (d2 B) | (G2 e) | (d2 c) | (A2 d) | G3- | G z |] uB | (B2 ^d) | (f2 B) | (B2 e) | (g2 B) | 
 (^c2 e) | (g2 f) | f3 | f e d | g3 | (f2 e) | (d2 B) | (G2 e) | (d2 D) | (B2 A) | 
"_D.C. to Allegro." G3- | G z |]  