Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['', 'dB AFDF', 'AF DEFA'  
X:1
L:1/8
M:4/4
K:D
 DE |: F2 dB AFDF | E2 EF EDB,C | D2 dB AFDF | EDEF E2 DE | F2 dB AFDF | E2 EF EDB,C | D3 A BAFD |1 
 EDCE D2 DE :|2 EDCE D2 EB/c/ |: d2 AF DEFA | BAFE DEFA | d2 AF DEFA | BFAF EDB,C | D2 AF DEFA | 
 BAFE DEFA | d3 A BAFD |1 EDCE D2 EB/c/ :|2 EDCE D2 DE ||  