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
['A, D>EF>D B,/B,/B, B,2 F<AA>B d>ef>d e>df>d', 'D<DA>F E2'  
X:1
L:1/8
M:4/4
K:D
 A, | D>EF>D B,/B,/B, B,2 | F<AA>B d>ef>d | e>df>d e>dB>d | A<Fd>F (E2 D) :| f | a>ba>f b<ee>f | 
 a>ba>f d>ef>d |{e} d>A B/A/G/F/ B>B,B,>A, | D<DA>F E2 D>f | a>baf b>eef | (a>b)(f>a) (e>f)(d>e) | 
 (B>d) (F>A) (B>B,)B,>A, | D<DA>F E2 D ||  