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:Ddor
['', 'DE F2 FE F2 DE FDGE FECE', 'EDDE FAdA FD (3DDD EGcG EC (3CCC'  
X:1
L:1/8
M:4/4
K:Ddor
 DE |: F2 FE F2 DE | FDGE FECE | Ddd^c defe | decd ABcA | d2 dc AGAB | c2 cG E C3 | Dddc AGAB | 
 cAGE EDDE :: FAdA FD (3DDD | EGcG EC (3CCC | FAdA FDDF | EDCE D2 DE :|  