Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:4/4
K:G
['', 'EDEG AGAB d2 Bd', 'B3 d'  
X:1
L:1/8
M:4/4
K:G
 DE |: G3 D EDEG | AGAB d2 Bd | edge dBGA | BAGE EDDE | GFGD EDEG | AGAB d2 Bd | efge dBGA | 
 BAGE ED D2 :: eaag efge | dBBA B3 d | eB B2 egfg | eBBA B3 d | eaag efge | dBBA B3 d | efed BAGA | 
 BAGE ED D2 :|  