Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:4/4
K:Gmin
['D2 FB dBFD E2 GB eBGE F2', 'B2 df b3 a aggf ga g2'  
X:1
L:1/8
M:4/4
K:Gmin
[K:Bb] FE | D2 FB dBFD | E2 GB eBGE | F2 Ac ecAc | BdcB AGFE | D2 FB dBFD | E2 GB eBGE | 
 F2 Ac ecAc | BdcA B2 :: dc | B2 df b3 a | aggf ga g2 | A2 cf a3 g | gff=e fgfd | B2 df b3 a | 
 aggf ga g2 | f=efg afcA |1 BdcA B2 :|2 BGFD B,2 ||  