Suppose f(x)=(x+1)2 for x≥1. If g(x) is the function whose graph is reflection of the graph of f(x) with respect to the line y = x, then g(x) equals: