Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:2/2
K:A
['EFAB c2', 'cAA g agfe egaf ecBA BAFg agfe'  
X:1
L:1/8
M:2/2
K:A
 F | EFAB c2 cA | d2 dBcA F2 | EFAB c2 ec | A (BAB) cAA || g | agfe egaf | ecBA BAFg | agfe fgaf | 
 edcB A2 A2 ||  