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:Gmin
['BAGF G3 A', 'B2 cd g3 a gfd=e f2 fc'  
X:1
L:1/8
M:4/4
K:Gmin
 BAGF G3 A | DG G2 FGGA | BAGA dcAB | cdga fdcA | BAGF G3 A | D2 GA FGGA | BAGA (3Bcd cA | 
 dcAF G2 GA :| B2 cd g3 a | gfd=e f2 fc | dcAG (3Bcd cA | cdga fdcA | B2 cd g3 a | gfd=e f2 fc | 
 dcAG FGAc | (3Bcd cA G2 GA :|  