Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:9/8
K:C
['c2 d e2 f gec', 'z g2 c cec BAG ABA cBA'  
X:1
L:1/8
M:9/8
K:C
 c2 d e2 f gec | d2 e f2 g a3 | c2 d e2 f gec | g2 e gec d2 z :: g2 c cec BAG | ABA cBA G2 E | 
 FGF AGF EFG | ABc dcB c2 z :|  