Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
Q:1/4=120
M:4/4
K:Gmin
['g2 d2 c2 B2 A2 BA Bc', 'G6 B2 f3 g ag af b2']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:Gmin
 g2 | d2 c2 B2 A2 | BA Bc de f2 | gf ed cd cB | A6 g2 | d2 c2 B2 A2 | BA Bc de f2 | ed cB AB AF | 
 G6 || B2 | f3 g ag af | b2 B2 B2 c2 | de f2 gf ed | c6 c2 | d2 ed ef ga | b2 fg fd BA | 
 AB ed cB AB | A F3 G2 |]  