Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:A
['', 'a f>ef<a c2 e>c B<AB>c e>c B2', 'c>AAa c<eA>e c<Ae>A'  
X:1
L:1/8
M:4/4
K:A
 a |: f>ef<a c2 e>c | B<AB>c e>c B2 | c<ee>A c2 a>f | e>cd>B c>AAa :| c<eA>e c<Ae>A | 
 c<eA>f e>c B2 | c<eA>e c<Aa>f | e>cd>B c>AAa | c<eA>e c<Ae>A | c<ff>c e>c B2 | c<ee>A c2 a>f | 
 e>cd>B c>AAa ||  