Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
['(3(agf) (3(efg) a2']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
|: g | (3(agf) (3(efg) a2 e>d | c<e A>a c>B B>g | (3(agf) (3(efg) a2 e>c | d>f B>e c>A A>g | 
 (3(agf) (3(efg) a2 e>d | c<e A>a c>B B>g | (3(agf) (3(efe) (3(fe^d) e>c | d<f B>e c<A Ac | 
 f2 c>f A>f c>f | (3(cfg) (3(agf) (3(cfg) (3(agf) | e2 B>e G>e B>e | 
 (3(Bef) (3(gfe) (3(bef) (3(gfe) | a2 e>a c>e A>g | (3(agf) (3(gfe) (3(fed) (3(edc) | 
 (3(def) (3(Bcd) (3(cde) (3(ABc) | (3(def) (3(efg) a3 :|  