Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:3/4
K:D
['d2 cd', 'd2 fe d2 Bd AF E2 E2'  
X:1
L:1/8
M:3/4
K:D
 FG | A2 d2 cd | e2 d2 cd | B2 c2 BA | F2 AG FG | A2 dB cd | e2 d2 cd | B2 c2 BA | d2 d2 :| fe | 
 d2 Bd AF | E2 E2 cB | A2 FD ED | B2 A2 FG | A2 dB cd | e2 d2 cd | B2 c2 BA | d2 d2 :|  