Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:2/4
K:Amin
['AB cd ef{ef} ed cA cB', 'AB cd']  
X:1
L:1/8
M:2/4
K:Amin
 AB cd | ef{ef} ed | cA cB | A2 A2- | AB cd | ef{ef} ed | cA cB | A2 A2 |: AB cd | ef g2 | 
 f/e/d fe | c2 c2 | AB cd | ef{ef} ed | cA cB | A2 A2 :|  