Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/16
M:6/8
K:C
['bagfed cdefga']  
X:1
L:1/16
M:6/8
K:C
 z3 GAB c2c2c2 | e2e2e2 g2g2g2 | c'4 z2 ce.g.e.g.e | gf.d.f.g.f ge.c.e.g.e | .g2.b2.d'2 cegege | 
 gfdfgf gecege | g4 G2 ce.g.e.g.e | cfafaf df.a.f.a.f | df.=b.f.b.f bagfed | cdefga bagfed | 
 cdefga bc'bagf | egc'gc'g !>!egabc'b | !>!agfedc Bcdefe | Md12 | Mb12 | c'2{/d} cBcd .e2.e2.e2 | 
 c4 eg c'2C2C2 | C6 z4 !fermata!z2 |]  