Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/16
Q:1/8=200
M:2/4
K:D
['d2d2 d2(cd) e2e2 e2(fe) dcBA B2c2', 'd2 A2 f2f2 f2(ef) g2g2 g2(bg) e2e2'  
X:1
L:1/16
Q:1/8=200
M:2/4
K:D
|: af | d2d2 d2(cd) | e2e2 e2(fe) | dcBA B2c2 | defg agfe | d2d2 d2(cd) | e2e2 e2(fe) | dcBA B2c2 | 
 d4- d2 :: A2 | f2f2 f2(ef) | g2g2 g2(bg) | e2e2 e2(de) | f2f2 fgaf | d2d2 d2(cd) | e2e2 e2fe | 
 dcBA B2c2 | d4- d2 :|  