x^2+y^2=(R-a)^2,(x-a/2)^2+y^2=R^2,x^2+y^2=R^2+a^2/4