I've done quite a bit of research, but I always fail right before the end. I know the integral of a circle, I know the substitution $$\theta = \arcsin\left(\frac x r\right)$$ However, I never get the right results.
My question is:
How do I find the area under a semicircle from $-r$ to $x_1; x_1 \in[-r;+r]$?
Also if I want to find the are under a semicircle offset in $$y= f(x) = \sqrt{r^2 - x^2} - d$$
I would simply have to use the above formular and subtract $(x + r) * d$?

$$A=\int_{-r}^{x_1}\sqrt{r^2-x^2}dx$$ Let $x = r\sin\theta$
$dx=r\cos\theta$
$$\begin{align} A&=\int_{-\pi/2}^{\arcsin{(x_1/r)}}(r\cos^2\theta )d\theta\\ &=r\int_{-\pi/2}^{\arcsin{(x_1/r)}}{\cos2\theta+1\over2}d\theta\\ &=\frac r2\left[\frac12\sin2\theta+\theta\right]_{-\pi/2}^{\arcsin(x_1/r)}\\ &=\frac r2\left[\sin\theta\cos\theta+\theta\right]_{-\pi/2}^{\arcsin(x_1/r)}\\ &=\frac r2\left({x_1\sqrt{r^2-x_1^2}\over r^2} +\arcsin(x_1/r)+\frac\pi2 \right) \end{align}$$
Not sure what you mean by second part but just place the center on origin and calculate normally. Just be sure to change $r_1$ and $x$ accordingly