Can I get a general solution for 4th, 5th and 6th degree polynomial
$$\begin{align} y=&Ax^3 +Bx^2 +Cx +D &\tag{1}\\ y=&Ax^4 +Bx^3 +Cx^3 +Dx +E&\tag{2}\\ y=&Ax^5 +Bx^4 +Cx^3 +Dx^2 +Ex +D&\tag{3}\\ y=&Ax^6 +Bx^5 +Cx^4 +Dx^3 +Ex^2 +Dx +E\tag{4} \end{align}$$
I want to solve this equations in programmatically. I know to reduce the degree by using synthetic method but, to apply synthetic method we nee to find out 1st root. in programmatically finding the root for every equation is too difficult pLease help me.