Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/2=96
M:4/4
K:none
['g2 dB{gf} g2 dB', 'afge |{g} d<B{gf}g>B{g}'  
X:1
L:1/8
Q:1/2=96
M:4/4
K:none
 B |{g} GB{g}dB{gf} gB{g} dB |{g} GB{gf} g>B{g} A{d}A{e}A3/2B |{g} GB{g}dB efge | 
{gf} gf{gf} g>B{g} G{d}G{e}G3/2 :| f |{gf} g2 dB{gf} g2 dB |{g} AG{d} AB{g} A{d}A{e}A3/2B | 
{gf} g2 dB{gf} g2 dB |{g} AG{d} AB{g} G{d}G{e}G>f |{gf} g2 dB{gf} g2 dB | 
{g} AG{d} AB{g} A{d}A{e}A3/2f | efge{ag} afge |{g} d<B{gf}g>B{g} G{d}G{e}G3/2 || f | 
{gf} g2 fg afge |{g} d<B{gf}g>B{g} A{d}A{e}A3/2f |{gf} g2 fg afge | 
{g} d<B{gf}g>B{g} G{d}G{e}G3/2f |{gf} g2 fg afge |{g} d<B{gf}g>B{g} A{d}A{e}A3/2a | 
 geaf{gf} ga{eg}eg |{G} d<B{gf}g>B{g} G{d}G{e}G3/2 |]  