If $$m$$ and $$n$$ are the roots of the equation $$x^2-2x+3=0$$, determine the equation whose roots are $$P= m^3-3m^2+5m-2$$ and $$Q= n^3-n^2+n+5$$.