Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Gmin
['B2 dA B2', '(DG)^FG (BG)A=F'  
X:1
L:1/8
M:2/2
K:Gmin
 uA | B2 dA B2 dA | B2 (fB) AFFA | B2 (df) bfdB | (Ad)F^F G2 G :| uF | (DG)^FG (BG)A=F | 
 (CF)=EF (AF)FA | (DG)^FG (BG)A=F | (Ad)D^F G2 G=f | (dg)ga (bg)af | (cf)fg (af)cf | 
 (dg)bg (fb)dB | (Ad)D^F G2"^D.C." G |]  