Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['c A2 A d>ef>g a2', 'a a>ff>a g2'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
"^Moderate" A | d>ef>d e2 cA | d>f e>d c A2 A | d>ef>g a2 ag | f>ed>e f a2 A | d>ef>d e2 cA | 
 d>fe>d c A2 A | d>ef>g a2 a>g | f>d Bc d2 z || a | a>ff>a g2 eg | f>de>d c A2 a | a>ffa g>bag | 
 f>dde d3 a | a>ff>a g2 e>g | f>de>d c A2 A | d>ef>g a2 a>g | f>d Bc d2 ||  