Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:3/4
K:D
['a>(g e)e gg g>f [dD]2 [dD]>(f e>)c', '[eA]>(e ([eA]2) [eB](G'  
X:1
L:1/8
M:3/4
K:D
|: a>(g e)e gg | g>f [dD]2 [dD]>(f | e>)c Ac d>f | a2 a(b a2) | a>(g e)e gg | g>f [dD]2 [dD]>(f | 
 e>)c [Ae]2 [ce]2 | BB [eA]2 !>![AD]2"^fine" :: [eA]>(e ([eA]2) !>![ec]2) | 
 [eB](G ([eA]2) !>![eA]2) | [eA]>(e ([eA]2) !>![ec]2) | [eB](G ([eA]2) !>![eA]2) :|  