Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/2
K:A
['ABcd efec', 'b2 ag f^efg f2 =e2'  
X:1
L:1/8
M:2/2
K:A
 ABcd efec | BGEG BGEG | ABcd efec | BG (3EFG A2 (3EFG | ABcd efec | BGEG BGEG | ABcd efec | 
 BG (3EFG A2 A2 || fgag fgag | fg (3agf b2 ag | f^efg f2 =e2 | BcdB A2 A2 | fgag fgag | 
 fg a2 b2 ag | f^efg f2 =e2 | c2 dB A2 A2 ||  