The first one you can reduce because you factor the numerator to get (x + 1) * (x - 1). You cancel out the (x -1) from the numerator and denominator to get f(x) = x + 1. The graph of this is the same as f(x) = x, but with the y intercept at y = 1 instead of the origin.