Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
Q:3/4=90
M:6/4
K:Gmin
['d g', 'B G'  
X:1
L:1/4
Q:3/4=90
M:6/4
K:Gmin
 d | g2 d g b a | g3 b3 | f d B d f b | c3 B3 | A c f B d g | d g b a b g | ^f d g (g/a/b/a/g/a/) | 
 ^f3- f2 || f | b f d B d f | b f d c2 B | a e c A c f | a e c B2 A | G B G ^F A D | G B G A d c | 
 B e d (g/b/a/g/^f/a/) | g3 d2 c | B G D A ^F D | B G D c c d | B e d D G ^F | G3- G2 |]  