Simplify x^2-2x+4