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
['B4- B>fdd dBdBdBdB Bdf/e/d/e/(3d/e/d/ B2 d/d/ edddeddd']  
X:1
L:1/8
M:4/4
K:D
 B4- B>fdd | dBdBdBdB | Bdf/e/d/e/(3d/e/d/ B2 d/d/ | edddeddd | edB/A/A- A3 B/A/ | EABAFAdB | 
 edB B4 e/d/ | BdedBde/d/e | ed/e/B/A/A- A3 z |]  