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
['A,DDE (3FGF ED CDEF GABc (3ded ec', 'Adde (3fgf ef gfec'  
X:1
L:1/8
M:4/4
K:D
|: A,DDE (3FGF ED | CDEF GABc | (3ded ec dBAG | F2 EF DCB,D | A,DDE (3FGF ED | CDEF GABc | 
 (3ded ec dBAG | FGEF D3 B, :: Adde (3fgf ef | gfec dcBc | Adde (3fgf ef | gfec d3 B | 
 Adde (3fgf ef | gfec dcBc | affa geeg | fdec d3 A :|  