Solve for x . x^2-x+1+5x+2