Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/4
M:3/2
K:G
['B d'  
X:1
L:1/4
M:3/2
K:G
|:"G" B d e d g B |"D7" A2 F2 c2 |"G" B d e d g a |"Em" b4"D" a2 |"G" b a g d e g | 
"C" e2 G2"G" B2 |"Am" A B c d B2 |"D7" c3 d c2 ::"C" c G A G A c | E3 c E2 |"D7" F A B A B d | 
 F3 d c2 |"G" B d e d g d |"C" e3 f/g/ a e |"D" f d B b g b |"G" g3 a g2 :|  