Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['Bc dcBA G2 Bd g2 f2 dB', 'd2 g2'  
X:1
L:1/8
M:4/4
K:G
 Bc |]"G" dcBA G2 Bd |"Em" g2 eg"Bm" f2 dB |"Am" c2 ac"G" B2 gB |"Am" cBAG"D" GFED |"C" EDEF GFGA | 
"G" BABc d2 g2 |"G" dBGB"D7" cAGF |"G" G2 G2 G2 :: d2 |"G" g2 bg"D" f2 af |"Em" g2 eg"Bm" f2 d2 | 
"Am" c2 ac"G" B2 gB |"Am" cBAG"D" FFED |"C" EDEF GFGA |"G" BABc d2 g2 |"G" dBGB"D7" cAGF | 
"G" G2 G2 G2 :|  