Solve[{x + y - 1 == 0, x^2 y - y + 1 == 0}, {x, y}]