Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:2/2
K:G
['g BG G/G/G BGdG cedg BAAc BG', 'bgaf g2 dB cedB cAAc'  
X:1
L:1/8
M:2/2
K:G
 g | BG G/G/G BGdG | cedg BAAc | BG G/GG BGdB | cedf gGG :| g | bgaf g2 dB | cedB cAAc | 
 BGAF G2 DB, | CEDF GG,G, G | bgaf g2 dB | cedB cAAc | bgaf gdec | BGAF GG,G, ||  