Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/4
M:3/4
K:D
['D D3/2 E/ F G A G/F/', 'A A'  
X:1
L:1/4
M:3/4
K:D
 D D3/2 E/ | F G A | G/F/ E B | A A G | F E2 | D3 | D D3/2 E/ | F G A | G/F/ E B | A A G | F E2 | 
 D3 || F B B | ^G E A | A F A | d d d | c B2 | A3 | B2 G | A2 F | G2 E | F2 B | A A G | F E2 | 
 D3 ||  