Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:D
['(e<E)E>F A>BA>F A>Bd>g (f/4g/4a3/2)', '(g/f/e/d/) (c<e) ef/g/'  
X:1
L:1/8
M:4/4
K:D
 B | A>BA>F A>Bd>e | (f<d)g>f (e<E)E>F | A>BA>F A>Bd>g | (f/4g/4a3/2) (e/4f/4g3/2) (f<d)dB | 
 A>BA>F A>Bd>e | (f<d)g>e (e<E)E>F | A>BA>F A>Bd>g | (f/4g/4a3/2) (e/4f/4g3/2) (f<d)d || f/g/ | 
 (a<f)(f<a) (b<g)g>b | a>f (g/f/e/d/) (c<e) ef/g/ | (a<f)(f<a) (b<g)(g>b) | 
 a>f (g/f/e/d/) (A<d)d>f | (a<f)(f<a) (b<g)g>b | (b/a/g/f/) (g/f/e/d/) (c<e) ef/g/ | 
 a>fg>e f>de>c | (3Bcd (3efg (f<d)d ||  