Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:3/4
K:Amix
['A B<d e2', 'A3 a ag f2 a>g f<d g3'  
X:1
L:1/8
M:3/4
K:Amix
 A B<d | e2 A>g f<d | e3 A B<d | e2 f>g f<B | d3 A B<d | e2 A>g f<d | e2 a>g f<a | d2 g>B A<G | 
 A3 :| a ag | f2 a>g f<d | g3 B Bc | d2 G>e d<B | d3 A B<d | e2 A>g f<d | e2 a>g f<a | d2 g>B A<G | 
 A3 :|  