Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:G
['g2 d2 dedc B2 G2 G2 g2']  
X:1
L:1/8
M:4/4
K:G
 g2 d2 dedc | B2 G2 G2 g2 | eceg fdfa | gaba gfef | g2 d2 dedc | B2 G2 G2 g2 | eceg fdfa | 
 g2 .gg .g z :|  