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
['dc BA', 'e2 e2'  
X:1
L:1/8
M:3/4
K:D
 A/B/c | d2 d2 A2 | dc BA Bc | de dc BA | d4 e d/e/f | B2 dc BA | F4 A2 | B2 c2 de | d4 fe | 
 d2 de/f/ ed c2 cd/e/ dc | B>c dc BA B>A F2 d/e/f | B2 dc BA | F4 A2 | B3 c d{f}e | d4 || de | 
 f2 f>e f>g | f2 fg/a/ gf | e2 e2 e2 | e3 f a2 | d2 df ed | c2 cd/e/ dc | B>c dc BA | F4 AB/c/ | 
 dF F2 E>D | D4 d/e/f | e2 dc Bc |{B} A4 d/e/f |{^A} B2 dc BA | B>A F3 A | B3 c de | d4 ||  