Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:3/4
K:D
['B,2 B,2 (A,B,)']  
X:1
L:1/8
M:3/4
K:D
 (A,B,) | (D3 F)E D | B,2 B,2 (A,B,) | D2 D2 (DE) | F4 (AF) | E2 E2 (ED) | E3 F A3/2 B/ | 
 B3 A(AF) | A2 z2 (FA) | B2 (Bc) dc | B2 A3 F | A2 D3 C | B,2 B,2 (A,B,) | D3 F(ED) | 
 B,2 B,2 (A,B,) | (D3 F) E3/2 D/ | D6 | z4 ||  