Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:3/4
K:A
['A2 E2 A2 B>c (3ABA (3GAB (3:2:4B2', '(3efg a2 f>a (3gbg e>e (3fgf (3:2:4f2'  
X:1
L:1/8
M:3/4
K:A
 A2 E2 A2 | B>c (3ABA (3GAB | (3:2:4B2 A E2 A GA | (3BAB (3cBA (3GAB | A2 E2 A2 | B>c (3ABA (3GAB | 
 (3:2:4B2 A E2 A GA | (3BAB c4 :: (3efg a2 f>a | (3gbg e>e (3fgf | (3:2:4f2 e c2 A G>A | 
 (3BAB (3cBA (3GAB | (3efg a2 f>a | (3gbg e>e (3fgf | (3:2:4f2 e c2 A G>A | (3BcB A4 :|  