Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:9/8
K:Gmin
['B/A/ G3 DGA BAG F3 CFA cBA']  
X:1
L:1/8
M:9/8
K:Gmin
 B/A/ | G3 DGA BAG | F3 CFA cBA | G2 G DGA BdB | cBA Ad^F G2 d | g2 G B2 d dcB | f2 c A2 c cBA | 
 dcB fed cBA | BAG A<d^F G2 :|  