Area of overlap of two circles A line segment $\overline{AB}$ has a length of $x$. A circle with center $A$ has a radius of $r_1$, and another circle with center $B$ has a radius of $r_2$. Also, $r_1+r_2>x$ and $x,r_1,r_2>0$ and $r_1,r_2<x$. Is it possible to find the area of the region inside both circles? If so, how?
(example graph of problem(Desmos))

Link to the graph
(I don't know if this is a duplicate or not; I will delete this question if it is a duplicate)
 A: 
Note that
$$AB = AE + EB = \sqrt{AC^2-CE^2} + \sqrt{BC^2-CE^2} $$
or $x - \sqrt{r_2^2-h^2} = \sqrt{r_1^2-h^2}$
with $CE = h$ and the givens.
Square both sides to get
$x^2+r_2^2-r_1^2 = 2x\sqrt{r_2^2-h^2}$. Square again to obtain $h$,
$$h=\frac1{2x}\sqrt{2x^2r_1^2+2x^2r_2^2+2r_1^2r_2^2-x^4-r_1^4-r_2^4}\tag 1$$
Then, the circle sector angles are,
$$\alpha = \sin^{-1}\frac h{r_1}, \>\>\>\>\>\beta= \sin^{-1}\frac h{r_2}$$
The purple and orange areas are respectively the differences between the corresponding circle sectors and triangles, i.e.
$$S_a = \alpha r_1^2 - h\sqrt{r_1^2-h^2},\>\>\>\>\>
S_b = \beta r_2^2 - h\sqrt{r_2^2-h^2}$$
Thus, the area inside both circles is
$$S_a+S_b =  r_1^2\sin^{-1}\frac h{r_1} + r_2^2 \sin^{-1}\frac h{r_2} - xh$$
where $h$ is given by (1).
A: HINT.-In the attached figure you can calculate the intersection point $P$ and the angles $a$ and $b$. You know the area of a circular sector $OPR$ is given by $\dfrac{r_1^2a}{2}$ where $a$ is in radians of course.
1) Area of triangle $OPO'$minus area of circular sector $O'PS$ = area of sector $OPS$
2)Requested area = 2($\dfrac{r_1^2a}{2}$ minus area of sector $OPS$)

