Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:3/4
K:A
['A>c e2 e3', 'd>e f2 d>B'  
X:1
L:1/8
M:3/4
K:A
 E |"A" A2 (A>B) c>d | e2 (e/f/e/d/) c>e | a2 (a>e) A>c |"E7" e2 e3 (d |"A" c>B) (A>B) c>d | 
 e2 (e/f/e/d/) c>e | a2 (a>e) A>c |"A7" e2 e3 |: (e |"D" f>e) f2 d>e | f2 d3 f | 
"A" a2 (e/f/e/c/) A>c | e2 e3 (e |"Bm" f>e) (d>c) (B2- |"E7" B>A) (B>c) d>e | 
"D" f2 (e/f/e/c/)"E7" d>B | GB"A" A3 :|  