Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
Q:1/2=90
M:2/2
K:A
['cd ecBA a2 (gf) ecBA B2 (AB)', 'B2 GA BGFE d2 (cB) Acef =g2']  
X:1
L:1/8
Q:1/2=90
M:2/2
K:A
|: cd | ecBA a2 (gf) | ecBA B2 (AB) | cA- AB/c/ defg | aedc B2 :: GA | BGFE d2 (cB) | 
 Acef =g2 (fe) | fa^gb e2 d2 | cB/A/ BA/G/ A2 :|  