Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/16
M:3/4
K:D
['d2AF D4 d4 c2>B2 ABcd e4 d2cB', 'd2dc d4'  
X:1
L:1/16
M:3/4
K:D
 d2AF D4 d4 | c2>B2 ABcd e4 | d2cB g2f2 e2d2 | cdec d4 D4 :: d2dc d4 a4 | e2c2 A2c2 e4 | 
 d2>c2 B4 d4 | c2>B2 ABAG F2A2 | d2A2 A4 B4 | (3=c2BA (3c2BA B4 | e2B2 B4 c4 | (3d2cB (3d2cB A4 | 
 d2dc d4 d4 | c2>B2 ABcd e4 | d2cB g2f2 e2d2 | cdec d4 D4 :|  