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:6/8
K:Gmin
['B3 B d2 G2 d dcB', 'b3 g3'  
X:1
L:1/8
M:6/8
K:Gmin
 A | B3 B d2 | G2 d dcB | A3 A c2 | F2 c cBA | B3 B d2 | G2 d dcB | dfd cBA | G3 G2 :| z | b3 g3 | 
 b2 g gfd | a3 f3 | fgf agf | b3 g3 | b2 g gfd | fdB Bdf | g3 g2 a | b3 g3 | b2 g gfd | a3 f3 | 
 fgf agf | b3 g3 | a2 g gfd | dfd cBA | G3 G3 |]  