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
['=cAGB ADDE FDAD FDAd =cAGB AG (3EFG', 'cA A2', 'A3 d', 'fdad fdad'  
X:1
L:1/8
M:4/4
K:D
 d | =cAGB ADDE | FDAD FDAd | =cAGB AG (3EFG | Adde fded | =cAGB ADDE | FDAD FDAd | 
 =cAGB AG (3EFG | Addc d3 || e | f2 df efge | fded cA A2 | fd d2 edcA | Addc d2 cd | eaag eage | 
 dfed cA A2 | Ad d2 fded | Addc d2 || ed | =cAGB A3 d | BdBd A3 d | =cAGB AG (3EFG | Adde fded | 
 =cAGB ABAd | BGGB A3 d | =cAGB AG (3EFG | Addc d3 || e | f2 ad fdad | fdad ge e2 | fdad fdad | 
 eaae dcAc | defg a3 b | agfa g3 e | fedf edcA | dcde fded ||  