Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:2/2
K:D
['F2 A2'  
X:1
L:1/8
M:2/2
K:D
 AG |"D" F2 A2"^(A)" A2 Bc |"D" dcde"^(A)" dBAG |"D" F2 A2 A2 ef |"Em" gfed"A7" B2 AG | 
"D" F2 A2"^(A)" A2 Bc |"D" dcde"^(A)" dBAG |"D" F2 A2 A2"G" g2 |"A7" faec"D" d2 :: g2 | 
"D" f3 a"A7" e3 f |"Bm" dcde"A7" gfed |"D" fgaf"Em" e3 f |"G" gfed"A7" B3 g |"D" fagf"A7" egfe | 
"Bm" dcde"A7" fefg |"D" a2 A2 A2"G" g2 |"A7" faec"D" d2 :|  