Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/4
M:4/4
K:G
['d d']  
X:1
L:1/4
M:4/4
K:G
 G3/2 B/ d d | e e d z | c3/2 d/ B G | A A G z | d d c c | B d/B/ A A | d d c c | B d/B/ A A | 
 G3/2 B/ d d | e e d2 | c A B G | A F G z |]  