Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:D
['DFAd B2', 'bgec d2'  
X:1
L:1/8
M:4/4
K:D
|: DFAd B2 AG | FABc dc d2 | DFAd B2 AF | BAFD E2 E2 | DFAd B2 AG | FABc dcde | fefa gfed |1 
 cABc d2 d2 :|2 cABc defg |: a2 af dfga | g2 ec Acef | gece afdf | bgec d2 ef | a2 af dfga | 
 g2 ec Acef | gece afdf |1 bgec d2 ef :|2 bgec d2 d2 ||  