Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/16
M:3/4
K:D
['d2F2 A4 BdGB d2G2 B4 Acef', 'd4 cdcB c2d2 e2A2 f2ed cedc B4', 'D4 A2A2 dAFA BcBA G2F2 E4 c2A2'  
X:1
L:1/16
M:3/4
K:D
 AdAc d2F2 A4 | BdGB d2G2 B4 | Acef gfed cdef | dcdf edcB A4 | AdFA d2F2 A4 | BdGB d2G2 B4 | 
 Acef gbag fagf | egec d2f2 d4 :: cdcB c2d2 e2A2 | f2ed cedc B4 | d2dc d2e2f2e2 | a2ed cdcB A4 | 
 Egfg b2g2 e2g2 | Dfef a2f2 d2f2 | edef gfga b2g2 | fedc d4 D4 :: !>!f2>d2 A2A2 dAFA | 
 BcBA G2F2 E4 | !>!g2>e2 c2A2 B2c2 | dAdf ecdB A4 | AdFA d2F2 A4 | BdGB d2G2 B4 | Acef gbag fagf | 
 egec d2f2 d4 :|  