Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:Dmix
['DEF GAG FDD']  
X:1
L:1/8
M:6/8
K:Dmix
 D | DEF GAG | FDD D2 D | DEF GAB | dcB A2 B/c/ | ded cBA | GFE c2 D/D/ | DEF GAG | FDD D3 |]  