The equation of the circle which touches both axis and whose centre is x1,y1 is
It touches both the circles , so x1=y1=r Equation of the circle (x−x1)2+(y−y1)2=x21 x2+y2−2x1(x+y)+x21=0