Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:2/2
K:D
['gfed c2 Ac'  
X:1
L:1/8
M:2/2
K:D
"D" A2 FA dcBA |"G" B2 GB gfed |"A" c2 Ac agfe |"D" defd"G" BAGE |"D" F2 DF dcBA |"G" G2 EG gfed | 
"A" c2 Ac agec |1"D" dfec"G" dcdB :|2"D" dfec d2 ef |:"G" gfge"A" cAag |"D" fefd BA^ga | 
"G" gfeg"D" fedf |"E" ea^gb"A" a2 ef |"G" gfge"A" cAag |"D" fefd"G" BAdB |"A" A2 FA"Bm" dcBA |1 
"A" dfec"D" d2 ef :|2"A" dfec"D" d4 |]  