Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:A
['(3cBA e>A', 'e>f a>g a>f'  
X:1
L:1/8
M:4/4
K:A
|: E2 |"A" A2 (3cBA e>A (3cBA | e>A a>A g>A f>A | e>A (3cBA e>A (3cBA |"E7" B>E d>E c>E B>E | 
"A" A2 (3cBA e>A (3cBA | e>A a>A g>A f>A | e>f e>c e>a e>c |"E7" B>A B<c"A" A2 :: (3AGF | 
"E7" E2 (3GFE B>E (3GFE | B>E d>E c>E B>E |"A" A2 (3cBA e>A (3cBA | e>A a>A g>A f>A | 
"A" e>f e>c"D" a>g a>f |"A" e>f e>c"D" a>g a>f |"A" e>c a>g"D" f>e d>c |"E7" B>A B<c"A" A2 :|  