Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:Dmin
['A (Ad).d.e .f2 .e.f (gf).e.d ^c2 z']  
X:1
L:1/8
M:4/4
K:Dmin
 A | (Ad).d.e .f2 .e.f | (gf).e.d ^c2 z .A | (Ad).d.d{g} .f.e.f>.g | a6 a2 | (af).f.a c'2 .b.a | 
 .g.f.e.f !fermata!g2 .f>.g | (ag).f.e .a2 .A2 | (.d2 .e2 .f2) (fg) | (ag).f.e (a2 A) | d6 ||  