Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:4/4
K:D
['F2 G2 z2 ^G2', 'c2 B2', 'cBBB Bccc cBBB (3ABc de fg :|2'  
X:1
L:1/8
M:4/4
K:D
 F2 G2 z2 ^G2 |:"D" [AA]4 ABAF | D2 d2 c2 B2 | [AA]4 ABAF | DFAd c2 d2 |"A" [ee]4 efec | 
 A2 eg f2 e2 |1"D" d3 d c2 B2 | A2 (3AAA G2 ^G2 :|2"D" d3 A BAFA | d2 (3(ABc d)e fg |: 
"D" a2 z2 d2 e2 | f6 ef |"G" g2 f2 e2 g2 | B6 (=c2 |"A" c2) cc c2 cc |1 BAAB A2 AB | Bccc cBBB | 
 Bccc cBBB |"A" (3ABc de fg :|2 BAAB A2 (3ef^g | a2 fa gecA |"D" d2 F2 G2 ^G ||  