Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/4
M:3/4
K:D
['D E3/2 F/', 'd A A'  
X:1
L:1/4
M:3/4
K:D
|: B, | A,3/2 D/ D | D3/2 C/ D | E3/2 F/ G | A2 G | F D D | F D D | E3/2 F/ G | E2 C | A,3/2 D/ D | 
 D3/2 C/ D | E3/2 F/ G | A2 G | F D D | E3/2 F/ E | D3- | D2 :: A | d A A | d A A | B3/2 A/ G | 
 F D D | d A A | d A A | G3/2 F/ G | E2 C | A,3/2 D/ D | D3/2 C/ D | E3/2 F/ G | A2 G | F D D | 
 E3/2 F/ E | D3- | D2 :|  