Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:A
['(c/d/)eg>e a>eg>e (c/d/)eg>e a>e f2 (c/d/)eg>e a/g/fec', 'f2 e>Ae>c'  
X:1
L:1/8
M:4/4
K:A
 (c/d/)eg>e a>eg>e | (c/d/)eg>e a>e f2 | (c/d/)eg>e a/g/fec |1 f>dc>a B<B f2 :|2 
 f>dc>A B<B a/g/f || e>ae>c e>A A<a | e>ae>c B<c f2 | e>ae>c e>AAa | d<f e>c B<c f2 | 
 e>Ae>c e>AAa | e>Ae>c B>c f2 | e>Ae>c f>de>c | B>fc>a B<B f2 ||  