Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
['d>D A>F']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
|: f | d>D A>F E<e e>f | d>D A>F A>B d>A | B>d A>F E<g f>e | d>B A>F D<d d>f | d>D A>F E<e e>f | 
 d>D A>F A>B d>A | B>d A>F E<g f>e | d>B A>F D<d dg | f>d a>f b<g g>b | a<d a>f a<d a>f | 
 g<b f<a e>d e>f | d>B A>F A<d d>g | f>d a>f b<g g>b | a<d a>f a<d a>f | g<b f<a e>d e>f | 
 d>B A>F D<d d :|  