(tan−1y−x)dy=(1+y2)dx
⇒dydx+(1+y21)x=1+y2tan−1y
I.F. =e∫1+y21dy=etan−1y
General solution will be
x(etan−1y)=∫etan−1y×1+y2tan−1ydy
⇒x(etan−1y)=tan−1y(etan−1y)−etan−1y+C
Since the curve passes through (1,0) ⇒C=2
So, the curve reduces to x(etan−1y)=tan−1y(etan−1y)−etan−1y+2
when y=tan1,x(e)=1(e)−e+2
⇒x=e2