Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/4
M:4/4
K:G
['d2 c A B c d e', 'A2 G'  
X:1
L:1/4
M:4/4
K:G
 d2 | c A | B c d | e e | d2 d | d/e/ d | c A/B/ c | B G | A F | G3 :: A2 G | F2 A/B/ | c A B | 
 G2 F/G/ | A2 G | F A B | c A F | G3 :|  