Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:3/4
K:A
['A>c e>d c>B (3AGA a>(g f>)e (3(fgf)', 'ba (3gbg (3efg'  
X:1
L:1/8
M:3/4
K:A
 A>c e>d c>B | (3AGA a>(g f>)e | (3(fgf) e(d (3c)Ac |1,3 (3BGB e2 E2 :|2,4 (3(BGB) A2 z2 :: 
 [EA,]d ce ce | [EA,]c df df | [BE]b ba (3gbg | (3efg b>a g>f | e>d ce ce | Ac df df | 
 Bb ba (3gbg | (3efg a2 A2 :|  