Find the particular solution of the differential equation passing through the given point.

(1+x2)dy=(x+1)ydx,(2,2)