Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/4
M:4/4
K:G
['G G d d e e d']  
X:1
L:1/4
M:4/4
K:G
 G G d d | e e d z | c3/2 d/ B G | A A G z | G G d d | e e d z | c3/2 d/ B G | A2 G z |]  