Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/4
K:Dmin
['B2 Bded A2 A2 GF', 'E2 DEFDGF E6 DEFGA=B c2 G2 E2'  
X:1
L:1/8
M:3/4
K:Dmin
 ded | B2 Bded | A2 A2 GF | E2 AGFE | F2 Dded | B2 Bded | A2 A2 GF | AG F2 E2 |1 D3 :|2 D6 |: 
 DEFGA=B | c2 G2 E2 | DEFDGF | E6 | DEFGA=B | c2 G2 E2 | DEFAGE |1 D6 :|2 D3 ||  