Factor -1/2x^2 + x + 1

does not factor using rational numbers