Compose a piece by incorporating the set musical pattern in its alphabetical form along with the given melodic subject.
X:1
L:1/8
M:4/4
K:Amin
['ed cA', 'cd e^f']  
X:1
L:1/8
M:4/4
K:Amin
 AB | cd ed cA GE | G2 GE GA cd | ec gc ac gc | ea ag eg ed | cd ed cA GE | G2 GE GA cd | 
 ea ag eg ed | cA BG A2 :: AB | cd e^f gf ga | ge dc BG GB | cd e^f g2 ed | ea ag ag ed | 
 cd e^f g2 ge | a2 a^f g2 ge | f2 fd eg ed | cA BG A2 :|  