Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:D
['e>dc>d (3efe', 'd2 A>G (3FED F>A f>ed>c B>G (3Bcd'  
X:1
L:1/8
M:4/4
K:D
|: a>g | f>dA>F (3GFE C>E | D>EF>A d>fg>a | b>ag>f e>dc>d | (3efe (3dcB A2 a>g | 
 (3fed A>F G>E (3CDE | D2 F>A d2 (3fga | b2 (3agf e>dc>d | (3efe d>c d2 :: A>G | (3FED F>A f>ed>c | 
 B>G (3Bcd g>fe>d | c>Ac>e a>gf>e | d>cd>e (3fed A>G | F>D (3FGA f2 (3edc | (3BAG B>d g2 (3fed | 
 (3cBA c>e a>ec>e | (3ded c>e d2 :|  