We have,
(x1,y1)=(1,0)
(x2,y2)=(0,1)
Then,
Equation of circle is
(x−x1)(x−x2)+(y−y1)(y−y2)=0
⇒(x−1)(x−0)+(y−0)(y−1)=0
⇒x(x−1)+y(y−1)=0
⇒x2−x+y2−y=0
⇒x2+y2−x−y=0