Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:D
['A A2{d} dd de/f/ (g/f/e/d/) d>c cc', 'z e/f/ g>b bb b2 (a/g/f/g/) e>a'  
X:1
L:1/8
M:4/4
K:D
 A | A2{d} dd de/f/ (g/f/e/d/) | d>c cc A2 (A/B/c/d/) | e2 ce a2 (g/f/e/d/) | f>e dd d2 z :: e/f/ | 
 g>b bb b2 (a/g/f/g/) | e>a aa a2 (g/f/e/d/) | cd ef g>A Bc | e>d dd d2 z :|  