Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:3/4
K:D
['E3 G FE B4 Bc dc', 'gB Bg gB =c4 ef gf ag'  
X:1
L:1/8
M:3/4
K:D
 E3 G FE | B4 Bc | dc Be dc | dc BA GF | E3 G FE | B4 Bc | dc BA GA | B3 G FD | E3 G FE | B4 Bc | 
 dc Be dc | dc BA GF | E3 G FE | B4 Bc | dc BA GA | B4 ef || gB Bg gB | =c4 ef | gf ag fe | 
 ^d2 e2 f2 | gB Bg gB | =c4 ef | gf ag fd | e3 e ef | gB Bg gB | =c4 ef | gf ag fe | ^d2 e2 f2 | 
 gB Bg gB | =c4 ef | gf ag fd | e3 G FA ||  