Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/4
M:4/4
K:G
['', 'd B'  
X:1
L:1/4
M:4/4
K:G
 B/A/ |: G d B d | G3/2 A/ G e | d B B/A/G/A/ | B A A B/A/ | G d B d | G3/2 A/ G e | d B A B/A/ | 
 G2 G z ::  