Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/4
M:3/4
K:D
['A G', 'A c3/2 B/ A G F E'  
X:1
L:1/4
M:3/4
K:D
"D" F3/2 G/ A | D E F |"Em" G2 B | E2 A |"A7" c3/2 B/ A | G A G |"D" F2 G | A3 |"D" F3/2 G/ A | 
 D E F |"Em" G2 B | E2 A |"A7" c3/2 B/ A | G F E |"D" D3 | D3 ||"D" f3/2 e/ d | F A d |"A7" c2 B | 
 E2 A | c3/2 B/ A | G A G |"D" F2 G | A3 |"D" f3/2 e/ d | F A d |"A7" c2 B | E2 A | c3/2 B/ A | 
 G F E |"D" D3 | D3 |]  