Compose a piece of music that follows both the given musical theme and the letter-based structure provided.
X:1
L:1/8
M:4/4
K:A
['e2 ef', 'e2 a2 Aa fedc', 'c2 ea', 'e2 a2 Aa fedc']  
X:1
L:1/8
M:4/4
K:A
 e2 ef edcd | e2 ef efga | e2 ef edcd | Bcde f2 e2 :| a2 Aa fedc | a2 ea f2 e2 | a2 Aa fedc | 
 Bcde f2 e2 | a2 Aa fedc | a2 ea f2 eg | abaf ecAc | Bcde f2 e2 || c2 ea c2 ea | c2 ea gfed | 
 c2 ea c2 ea | Bcde f2 e2 :| a2 Aa fedc | a2 ea f2 e2 | a2 Aa fedc | Bcde f2 e2 | a2 Aa fedc | 
 a2 ea f2 eg | abaf ecAc | Bcde f2 e2 |]  