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:D
['D2 (3FED ADFA', 'D4 d2 df edBA (3Bcd fd e2'  
X:1
L:1/8
M:4/4
K:D
 D2 (3FED ADFA | dfed BAFE | D2 (3FED ADFA | BF F2 EDB,C | D2 (3FED ADFA | (3BcB AF DEFA | 
 (3BcB AB GABc |1 dBAF EGFE :|2 dBAF E3 A || dcdf efdc | BAFE D4 | d2 df edBA | (3Bcd fd e2 Bc | 
 dcdf efdc | BAFE DEFA | (3BcB AB GABc | dBAF EGFE :|  