Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
M:2/4
K:Gmin
['d2 ^c>A d z d2 dd ^cB']  
X:1
L:1/8
M:2/4
K:Gmin
|:"Gm" d2 ^c>A | d z d2 | dd ^cB | AG D2 | BB d2 |"D7" AA D2 |"Gm" GB"D7" A^F |"Gm" G z G2 :|  