Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:C
['.e) (f2', 'a gec'  
X:1
L:1/8
M:6/8
K:C
 (vG2 .c){d} cBc |"^4" (e2 .c) cBc | (A2 .d) (d2 .e) | (f2 .d) (B2 .G) |"^SEGUE" G2 c{d} cBc | 
"^4" e2 c cBc | BAG GAB | cd"^4"e (d2 c) :: (vc2 .e) (f2 .a) |"^SEGUE" g2 a gec | c2 e f2 a | 
 gec d3 | c2 e f2 a | g2 a gec | cBA GAB | cd"^4"e (d2 c) :|  