y=\sqrt{r^2-(x-a-r)^2}