Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:9/8
K:Edor
['DAc dcA A2 D', 'bgf gfd'  
X:1
L:1/8
M:9/8
K:Edor
 DAc dcA A2 D | DAc dcA A2 D | Bdf fgd d z z | Bdf fgd BAG | DAc dcA A2 D | DAc dB/c/d dee | 
 Bdf fgd d z z | Bdf fgd dcA |: EAc dea a2 f | agf fga a3 | bgf gfd d z d | bgf gfd dcA :|  