Solve for x -x^2+10x=x^2-6x