Compose a piece adhering to the given musical structure and theme.
X:1
L:1/8
Q:1/4=112
M:2/4
K:G
['d2 Bg', 'd2 Bg'  
X:1
L:1/8
Q:1/4=112
M:2/4
K:G
|:"^Allegretto" d2 Bg | d2 Bg | dBdB | (d/c/B/c/) AA | d2 (Bg) | e2 (^cb) | agfe | 
{e} d/^c/d/e/ d2 :: d2 B^G | ABcc |{c} B A2 ^G | (A>B) (cc) | c2 Ad | B2 Gd | ^cgec | dddd | 
 d2 Bg | d2 Bg | dBdB | (d/c/B/c/) AA | d2 Bg | g2 ec | BB A/>B/c/>d/ | (c2 B) z | d2 Bg | g2 ec | 
 BB{B} A/>G/A/>B/ | G2 z2 :|  