Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/2
K:D
['DFAd BAGF', 'dcdA dfed'  
X:1
L:1/8
M:2/2
K:D
 DFAd BAGF | Eeed cAGE | DFAd BAGF | GBAG FDDF | DFAd BAGF | Eeef gecA | DFAd BAGF | GBAG FD D2 || 
{e} dcdA dfed | cAeA fAeA |{e} dcdA dfed | cdef dcBA |{e} dcdA dfed | cdef gfec | dBAG FAdB | 
 AGFE FD D2 ||  