Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
Q:1/8=120
M:4/4
K:G
['B>cd>e d>BA>G g>ab>a g2 g>f e>fg>f e>dB>G', 'g>f e>fg>f e>dB>G |1 A>Bc>d A4 :|2'  
X:1
L:1/8
Q:1/8=120
M:4/4
K:G
|: B>cd>e d>BA>G | g>ab>a g2 g>f | e>fg>f e>dB>G |1 A>Bc>d A4 :|2 (3ABA G>F G4 |: a2 a>b a>fe>d | 
 g>ab>a g2 g>f | e>fg>f e>dB>G |1 A>Bc>d A4 :|2 (3ABA G>F G4 ||  