Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/8
M:4/4
K:Gmin
['B2 B2 F>Bd>B c>bc>d e>dc>B A>Bc>d c>BA>G', 'B2 c>fa>g (3feg f>e d>fb>a g2 g>f', 'B2 B2', 'B2 cfag (3feg fe dfba g2 gf'  
X:1
L:1/8
M:4/4
K:Gmin
 B2 B2 F>Bd>B | c>bc>d e>dc>B | A>Bc>d c>BA>G | (3FAc f>g f>ed>c | B>dF>B (3DFB d>B | 
 e>gc>e (3FAc e>c | (3Bac (3BAG F2 G>A | B2 d2 B2 :| c>fa>g (3feg f>e | d>fb>a g2 g>f | 
 (3edc (3dcB (3afe (3dcB | (3FAc f>g f>ed>c | B>dF>B (3DFB d>B | e>gc>e (3FAc e>c | 
 (3Bac (3BAG F2 G>A | B2 d2 B2 :| B2 B2 FBdB | cbcd edcB | ABcd cBAG | (3FAc fg fedc | 
 BdFB (3DFB dB | egce (3FAc ec | (3Bac (3BAG F2 GA | B2 d2 B2 :| cfag (3feg fe | dfba g2 gf | 
 (3edc (3dcB (3afe (3dcB | (3FAc fg fedc | BdFB (3DFB dB | egce (3FAc ec | (3Bac (3BAG F2 G>A | 
 B2 d2 B2 :|  