Since g(p) = 0, and g(p) = f(p) - p, we have f(p) - p = 0, or simply f(p) = p.