Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:2/2
K:A
['a>a(e>c) (A>c)f>e (d>c)B>A', 'A2 (ud>c) (B>c)B>A (G>E)F>G (A>B)c>d (e>c)A>c (e>c)d>e'  
X:1
L:1/8
M:2/2
K:A
 (3(efg) | a>a(e>c) (A>c)f>e | (d>c)B>A (G>B)E>E | (A>B)c>d (e>c)A>c | (B>e)^d>f e>e(f>g) | 
 a>a(e>c) (A>c)f>e | (d>c)B>A (G>B)E>B | (A>a)e>c (f3/2{gf}e)d>c | A2 c2 A2 :: (ud>c) | 
 (B>c)B>A (G>E)F>G | (A>B)c>d (e>c)A>c | (e>c)d>e (f>e)d>c | (B>e)^d>f e>e(f>g) | 
 (3(aba) ec (3(fgf) dB | (3(efe) cA (3(ded) BG | (A>a)e>c (f3/2{gf}e)d>B | A2 c2 A2 :|  