Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['d AFG', "D2 a afd ab=c' =c'3 b2 b"  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 d | AFG A2 d | AFG A2 d | ege dfd | ecA A2 d | AFG A2 d | AFG A>ag | fed ABc | d3 D2 :| a | 
 afd ab=c' | =c'3 b2 b | bge bc'd' | d'3 c'3 | ad'a faf | gbg eae | fed ABc | d3 D2 :|  