Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:G
['G2 z']  
X:1
L:1/8
M:4/4
K:G
|: G2 z G/A/ BBBd | B2 z2 G2 z G/B/ | ddde d2 z B/c/ | d3 g fe dB/c/ | d3 e AG/A/ DB/c/ | 
 d3 g f2 e2 | d4 G2 z G/A/ | B2 d2 B2 z2 | G2 z G/B/ d2 e2 | d2 z G/B/ d3 g | fe d2 BA/B/ cB/c/ | 
 de AG/A/ D4 | BA/B/ cB/c/ de A2 | BA/B/ cB/c/ de AG/A/ | D2 z B/c/ d2 g2 | fe dB/c/ d2 g2 | 
 B2 cA G4 :|  