Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:A
['A2 (3cBA eAcA Bcde f2 ed cA', 'f2 ed cdec'  
X:1
L:1/8
M:4/4
K:A
 ec | A2 (3cBA eAcA | Bcde f2 ed | cA (3AAA eAcA | EFAB BAec | A2 (3cBA eAcA | Bcde f2 ed | 
 cA (3AAA eAcA | EFAB BAag || f2 ed cdec | Bcde fB B2 | f2 ed cdec | EFAB BAag | f2 ed cdec | 
 Bcde fB B2 | f2 ae f2 ec | EFAB BA ||  