Breaking a variable out of a trigonometry equation $A = 2 \pi r^2 - r^2  (2 \arccos(d/2r) - \sin(2 \arccos(d/2r)))$
Given $A$ and $r$ I would like to solve for $d$. However, I get stuck breaking the $d/2r$ out the trig functions.
For context this is the area of two overlapping circles minus the overlapping region. Given a radius and desired area I'd like to be able to determine how far apart they should be. I know $A$ should be bounded below by $0 (d = 0)$ and above by $2 \pi r^2 (d \le 2r)$.

You can simplify your algebra a little bit by working in terms of angles. If $\theta$ is the half of the central angle of the arc overlapping with the other circle, then $d=2r\cos\theta$ and your equation is further simplified into
$$
A=2\pi r^2+r^2(\sin(2\theta)-2\theta).
$$
Of course, this is still implicit; one cannot really solve this equation for $\theta$ without a numerical method.
In addition, you may be interested to know that there are various "tricks", ways to write an explicit solutions to transcendental equation like yours in terms of custom special functions, basically, integrals that would still need to be computed numerically. An early paper in this area by E.E. Burniston & C.E. Siewert is called "Exact analytical solution of the transcendental equation $\alpha\sin\zeta=\zeta$" and was published in SIAM J. Appl. Math., Vol.24, No.4 (1973). It can be downloaded from C.E. Siewert's web page.
