Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['D DFA dfd', 'g2 f e2 d'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 D | DFA dfd | AFD E2 D | DFA dfd | cec d2 D | DFA dfd | AFD E2 D | BAB d2 A | FDD D2 :: fga gfd | 
 g2 f e2 d | fga afd | fed afd | fga afd | g2 f e2 d | BAB d2 A | FDD D2 :|  