Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
['E>A F<A']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
|: E | A2 E>A F<A A>c | d>B e>d c>e a2 | cB/A/ E>A F<A d<f | ed/c/ dc/B/ c<A AE | A2 E>A F<A A>c | 
 d>B e>d c>e a2 | cB/A/ E>A F<A d<f | ed/c/ dc/B/ c<A AA/B/ | c>A e>c a>e d>c | B<G d>B e>d c>B | 
 A<F c>A d>c B>A | B>F B>A G2 F<E | c/d/e A>c f>e d>c | Bc/d/ G>B e>d c>B | A/B/c F>a g>f e>d | 
 c<e E>G A2 A :|  