Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:4/4
K:G
['d3 e d2 B2 dBAB G2 BG', 'gfed Bdef g2 bg a3 b g2'  
X:1
L:1/8
M:4/4
K:G
|: d3 e d2 B2 | dBAB G2 BG | EGA/B/c BAGA | BABd efge | d2 eB d B3 | dBAF GAGE | DEGA B2 eB |1 
 dB{A}Bc BA G2 :|2 dB{A}Bc BAGA |: Bdef g2 fg | a3 f gfed | Bdef g2 bg | a3 b g2 ba | b2 gb agef | 
 gage dB B2 | DEGA B2 eB |1 dB{A}Bc BAGA :|2 dB{A}Bc BA G2 ||  