Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/4
M:3/4
K:G
['d d']  
X:1
L:1/4
M:3/4
K:G
 D G/A/B/c/ | d d/c/ B | d e d | c B z | D G/A/B/c/ | d d/c/ B | d e d | c B z | d d d | 
 e3/2 c/ A | A/B/ c c | B/d/ d z | d d d | d e/f/ g | e d B | A G z |]  