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:4/4
K:Gmin
['g3 z', 'd>BGB{G} g3 z'  
X:1
L:1/8
M:4/4
K:Gmin
 d>BGB{B} g3 z | G>Bd>B{A} cA{F} G2 | f>ed>f{a} g>dTc>B | c>df>d g3/2{fg}d Tc2 | d>BG>B{B} g3 z | 
 G>Bd>B{d} TcA{^F} G2 || GGB>B{AB} c>BA<c | G<GB>d f>ed<f | Tg>ab>g f>dTcB | c>dfd g>dc{d}e | 
 d>BGB{G} g3 z | TG>Bd>B{AB} cA{^F} G2 | Tf>ed>f{a} g>dc>B | Tc>dfd Tg3/2{fg}d c2 | d>BGB{G} g3 z | 
 TG>Bd>B{d} Tc>A{^F} G2 ||  