Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/4
M:2/2
K:C
['e g2 e d2 e a g']  
X:1
L:1/4
M:2/2
K:C
"A" e a"G" g2 |"A" e a"D" d2 |"A" e a g a |"E" e/d/ c"A" A2 :|"A" A A"C" c2 |"A" A A"G" G2 | 
"A" A A c d |"E" e/d/ c"A" A2 :|  