Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:A
['d2 f ecA ABc', 'AFE ECE ABc d2 f ecA ABc'  
X:1
L:1/8
M:6/8
K:A
 aec Ace | aec d2 f | ecA ABc | BAF FEF | aec Ace | aec d2 f | ecA ABc | B3 Ace | aec Ace | 
 aec d2 f | ecA ABc | BAF FEF | AFE ECE | ABc d2 f | ecA ABc | BAG AcB |: AFE ECE | ABc d2 f | 
 ecA ABc | BAF FEF | AFE ECE | ABc d2 f | ecA ABc |1 BAG AcB :|2 BAG Ace ||  