Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:D
['DE B,EDB,'  
X:1
L:1/8
M:4/4
K:D
|: A/B/c |"D" dA{c}"G" BA"B" F2 FE |"D" DE (3(F"F#"ED)"G" B,EDB, |"D" A,3 B,"F#" DE"B"FA | 
"E" GFED"A" E2 (3DE=F |"A/F#" FDdD"G/A" c2 BA |"A/D" F2 ED"E/G" B,EDB, |"D" A,B,"D"DE"A" FA"A"GE | 
"A" F2 D2"D" D2 :: (3DFA |"G/E" B2{cB} AB"G/A" c2 BA |"A/F#" FEDF"A/G" A2 FE | 
"D" DE"A/F#"FA"G/E" BedB |"A" c2 A2"A" A3"B" B |"C" =c"B"B"A"A"F#"F"G" G2 AF | 
"D" DE (3(FED)"E/G" B,EDB, |"D" A,B,"D"DE"A" FA"A"GE |"A" F2 D2"D" D2 :|  