Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
Q:1/8=140
M:6/8
K:A
['E EAA AGA dBA GAB c/d/ec dBc', 'A Agg g2 a gee dBB Aaa']  
X:1
L:1/8
Q:1/8=140
M:6/8
K:A
"^allegretto" E | EAA AGA | dBA GAB | c/d/ec dBc | A>BA A2 E | EAA AGA | dBA GAB | c/d/ec dBc | 
 A>BA A2 ||[K:D]"^A modal" A | Agg g2 a | gee dBB | Aaa aga | bge e2 d/c/ | def gag | fdc Bcd | 
 e2 ^d e/f/ge | e/d/BA A2 A | Agg g2 a | gee dBB | Aaa aga | bge e2 d/c/ | def gag | fdc Bcd | 
 e2 ^d e/f/ge | e/d/BA A3 |]  