Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:D
['A>G F>Af>A F>Af>A G>Ae>A F>A f2 g2', 'B>FB>d f>d B2'  
X:1
L:1/8
M:4/4
K:D
|: A>G | F>Af>A F>Af>A | G>Ae>A F>A f2 | g2 f>g e>fd>e | c>dB>c A2 A>G | F>Af>A F>Af>A | 
 G>Ae>A F>A f2 | g2 f>g e>fd>e | c>B (3ABc d2 :: d>e | f>Fe>F d>Fc>F | B>FB>d f>d B2 | 
 ^A>FA>c f>c A2 | B>FB>d f>d B2 | f>Fe>F d>Fc>F | B>FB>d f>d B2 | ^A>FA>c f>cA>F | B2 d2 B2 :|  