\(P\left(x\right)=3x^2+7+2x^4-3x^2-4-5x+2x^3\)
\(=2x^4+2x^3+\left(3x^2-3x^2\right)-5x-4+7\)
\(=2x^4+2x^3-5x+3\)
\(Q\left(x\right)=-3x^3+2x^2-x^4+x+x^3+4x-2+5x^4\)
\(=\left(5x^4-x^4\right)+\left(-3x^3+x^3\right)+2x^2+\left(x+4x\right)-2\)
\(=4x^4-2x^3+2x^2+5x-2\)