Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/16
M:3/4
K:D
['', 'D2 (DEFG) (AB)cd (ef)ga (gf)ge (dc)BA e4', ''  
X:1
L:1/16
M:3/4
K:D
 D2 |: (DEFG) (AB)cd (ef)ga | (gf)ge (dc)BA e4 | A4 B4 c4 | (dc)BA (^GA)BG A4 | 
 (DEF)G ABcd (efga) | .b2.g2.e2c2 d4 | (B2A2) .G2.F2.G2.A2 | BGEC C4 D4 :| A2 |:  