Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/4
Q:1/4=140
M:4/4
K:D
['F3/2 G/ A A B B A', 'g f e'  
X:1
L:1/4
Q:1/4=140
M:4/4
K:D
"^ADANTE (sic)" F3/2 G/ | A A B B | A z d e | f g/>e/ d c | d z F3/2 G/ | A A B B | A z d e | 
 f g/>e/ d c"^NB" | d z || g f |"^AS WRITTEN" e d f g f | e z g f | e d c B | A3/2 ^G/ F3/2 G/ | 
 A A B B | A z d e | f g/>e/ d c | d z |]  