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
['B B']  
X:1
L:1/4
M:4/4
K:G
 D | G2 F G | A2 G A | B d c A | G2 z G/A/ | B B B A/B/ | c3/2 d/ c c/B/ | A A/A/ A B | 
 d3/2 e/ d d | G2 z B | A2 z G/A/ | B B d/c/ A | G2 z |]  