Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:2/4
K:none
['fA fg eA ef', 'B/B/B g2 A/A/A f2', 'dB g2 e/e/e/e/ eg d2 B2 a/a/a/a/'  
X:1
L:1/8
M:2/4
K:none
[K:D] fA fg | eA ef | gg/f/ ga | gf/e/ de | fA fg | eA ef | ag/f/ gf/e/ | df d z :: B/B/B g2 | 
 A/A/A f2 | e>d cB | PBA AA | B/B/B g2 | A/A/A f2 | e>A Bc | df d z ::[K:G] B/B/B/B/ B"_c"c | 
 dB g2 | e/e/e/e/ eg | d2 B2 | a/a/a/a/ a>g | f>e d2 |1 d/d/d/d/ d>"_c"c | B>A G2 :|2 d/d/d/d/ ef | 
 gb g z |]  