Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:6/8
K:D
['D F2 F', 'F G2 F EGB'  
X:1
L:1/8
M:6/8
K:D
 D | F2 F GFG | A3 d2 D | F2 F GAG | F3 E2 D | F2 F GFG | A3 d2 d | c2 c cBc | d3 d2 F || 
 G2 F EGB | A2 F D2 F | G2 F EGB | A3 A2 A | d2 d dcB | B2 A F2 d | c2 c cBc | d3 d2 ||  