Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:4/4
K:Edor
['BA GEED EFGA (3Bcd', '(3Bcd ec', 'BA (3Bcd', 'gedB edBA'  
X:1
L:1/8
M:4/4
K:Edor
 BA | GEED EFGA | (3Bcd eB e2 ef | g2 gf edBA | (3Bcd cA B2 BA | GEED EFGA | (3Bcd ef g2 ga | 
 (ab)ba fged | BA (3Bcd e2 :: ef | g2{a} ga (ab)ba | (fg){a}gf edBA | BEED G2 GA | (3Bcd ec dBBf | 
 g2 ga bbba |{b} ag{a}gf{g} feed | (AB)BA (3Bcd ec | dBAF E2 :: FA | AB{c}BA B3 A | Beed BEGA | 
 ABBA BA (3Bcd | edcA (AB)BA | B2 BA ABBA | Beed BA (3Bcd | egfd edBA | (3Bcd AF E2 :: z f | 
 gedB edBA | GEGA (3Bcd ef | gedB edBA | (3Bcd AF D2 ef | (fg)ge dBed | BAGE A3 B | B=ccA Bbba | 
 geed e2 :|  