Develop a musical piece using the given theme and incorporating the letter-based structure provided.
X:1
L:1/8
Q:1/8=160
M:9/8
K:A
['Ace agf', 'A3 EFE E2 F GFE ABA A2']  
X:1
L:1/8
Q:1/8=160
M:9/8
K:A
 Ace agf ece | Ace agf e3 | Ace agf ecA | Bcd EFG A3 :| EFE E2 F GFE | ABA A2 c ecA | dfa agf ecA | 
 Bcd EFG A3 :|  