Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Dmin
['d>c B2{d} cB A2 DE F>G A=B', 'z2 A2 d2 de f3/2g/8f/4 ef gfed'  
X:1
L:1/8
M:4/4
K:Dmin
 d>c | B2{d} cB A2 DE | F>G A=B c2 f{gf}e | dcAG FAcB | A4 z2 dc | B2 AG FDDE | FGA=B cef{gf}e | 
 dcAF GFD>D | D4 z2 || A2 | d2 de f3/2g/8f/4 ef | gfed c<A G3/2F/6G/4 | Adde fdcA | d6 dc | 
 B2{d} cB A2 DE | FGA=B cef{gf}e | dcAF GFD>D | D4 z2 ||  