Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:Dmix
['AD (3FED (3EFG AB', 'Ad d2 Adfd'  
X:1
L:1/8
M:4/4
K:Dmix
|: AD (3FED (3EFG AB | cAGE CEGB | AD (3FED (3EFG AB | c3 ^c dcAG | AD (3FED (3EFG AB | cAGE CEGB | 
 AD (3FED (3EFG AB | cAGE ED D2 :: Ad d2 Adfd | ed^cd efgg | Ad d2 Adfd | eaag edd^c | Ad d2 Adfd | 
 ed^cd efge | afge d2 (3Bcd | eaag ed d2 :|  